livecd-creator unmounting temp image, running daemons.

Martin Langhoff martin.langhoff at gmail.com
Sun Jul 27 10:16:17 UTC 2008


On Sun, Jul 27, 2008 at 8:45 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> Sounds complex. I will try going in the opposite direction: downgrade
> the package on F9 or pass flags to disable the new fanciness.

Right - with the following patch to fs.py the F7 kernel won't panic
anymore, and a basic F8 will boot. The mkfs tweak is probably
unneeded, the main difference seems to come from -no-sparse:

--- a/imgcreate/fs.py
+++ b/imgcreate/fs.py
@@ -38,7 +38,7 @@ def makedirs(dirname):
             raise

 def mksquashfs(in_img, out_img):
-    args = ["/sbin/mksquashfs", in_img, out_img]
+    args = ["/sbin/mksquashfs", in_img, out_img, '-no-sparse', '-b', '131072']

     if not sys.stdout.isatty():
         args.append("-no-progress")
@@ -200,7 +200,7 @@ class SparseExtLoopbackMount(SparseLoopbackMount):

     def __format_filesystem(self):
         rc = subprocess.call(["/sbin/mkfs." + self.fstype,
-                              "-F", "-L", self.fslabel,
+                              '-I', '128', "-F", "-L", self.fslabel,
                               "-m", "1", "-b", str(self.blocksize),
                               self.lofile,
                               str(self.size / self.blocksize)])


On F7 - my actual target ATM - the problem is not gone through. Init
is dropping me to a panic shell, and I cannot figure out how to get
something I can mount there. When I get dropped in the shell, lsmod
makes it seem like no interesting modules have been loaded.
modprobe-ing libata, cdrom and other modules works. I don't know the
major/minor numbers enough to mknod my way around here.

So I suspect of the initrd, but I am unsure of what to do next. The
mayflower initrd seems to work though it does  throw some (IMO)
meaningless errors - complaining about old module names that are not
relevant to the 2.6.23 kernel I have:

Building an initramfs at /boot/initrd-2.6.23.1-21.fc7.img for kernel
2.6.23.1-21.fc7
FATAL: Module ide_cd not found.
FATAL: Module =ata not found.
FATAL: Module usbhid not found.
FATAL: Module ieee1394 not found.
Done; initramfs is 4.2M.

any more hints on this track?

TIA,




martin
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff




More information about the fedora-devel-list mailing list