Comment 2 for bug 62868

Revision history for this message
robepisc (robepisc) wrote : Re: swap partitions not automounted by the LiveCD

Uhm... Edgy beta LiveCD *doesn't* on my laptop.
Ergo reopening.

I think the script which is supposed to find my swap partition is: /usr/share/initramfs-tools/scripts/casper-bottom/13swap.
I can't understand what's wrong with it: I know it's run without any error (see casper.log, which I'm going to attach) and I've checked that my swap partition is of type SWAPSPACE2, but no swap line is put into my fstab.
If I manually do a "swapon /dev/hda5", it gets activated without any problem.

Some info which may be useful to debug:

root@ubuntu:~# fdisk -l /dev/hda
Disk /dev/hda: 20.0 GB, 20003880960 bytes
16 heads, 63 sectors/track, 38760 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
   Device Boot Start End Blocks Id System
/dev/hda1 * 1 16257 8193118+ b W95 FAT32
/dev/hda2 16257 16783 265072+ 1c Hidden W95 FAT32 (LBA)
/dev/hda3 16783 34585 8972302+ 5 Extended
/dev/hda5 16783 17819 522081 82 Linux swap / Solaris
/dev/hda6 17819 33931 8120857 83 Linux
/dev/hda7 33932 34585 329301 83 Linux

root@ubuntu:~# cat /etc/fstab
unionfs / unionfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0

root@ubuntu:~# dd if=/dev/hda5 bs=4086 skip=1 count=1 2>/dev/null | dd bs=10 count=1 2>/dev/null | hd
00000000 53 57 41 50 53 50 41 43 45 32 |SWAPSPACE2|
0000000a

root@ubuntu:~# cat /proc/cmdline
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper xforcevesa initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw -- acpi=force locale=it_IT console-setup/layoutcode=it