Hello, After getting my root filesystem successfully compiled, I am now failing on the image generation. There is some problem with the loop0 and loop1 devices being prematurely deleted or not created at all. I'm a FreeBSD guy so the makeimage script has all sorts of fun utilities I've never used and perhaps I'm interpreting them incorrectly.
./makeimage.sh 512 After fdisk exits I get: ------------------------8<------------------------ Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 22: Invalid argument. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. ln: `/dev/loop/0' and `/dev/loop/0' are the same file /dev/loop/1: No such file or directory Could not stat /dev/loop/1 --- No such file or directory The device apparently does not exist; did you specify it correctly? mount: special device /dev/loop/1 does not exist ------------------------8<------------------------ ...and here's where I believe the problem could be in makeimage.sh from SVN revision 170: ------------------------8<------------------------ 096: fdisk "$LOOPD"0 097: 098: losetup -d "$LOOPD"0 099: 100: ln -sf "$LOOPD"0 /dev/loop 101: 102: losetup "$LOOPD"0 disk.img 103: losetup -o 32256 "$LOOPD"1 disk.img 104: 105: mke2fs -O sparse_super -L ASTROOT -m0 -q "$LOOPD"1 ------------------------8<------------------------ To be honest I don't quite understand all the loop device creation linking and deletion, so even a description of what's happening there would be very helpfull. If anyone could shed some light on the situation it would be greatly appreciated. Thanks in advance, --Michael I. _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
