AuthorTopic: boot options for swap? (Read 5790 times)

I installed vl 5.9 lite on my eee machine. Install was no problem but installer saw the disk as sdc but the kernel booting sees sda, I can get the rootfs with boot option root=/dev/sda1 but is there a way to define the swap partition on the boot line? also once I get this thing running, how do I modify the boot record so I don't have to give command line options?

Thanks!

Logged

Evil Overlord rule 58 My doomsday device will not employ a large red digital countdown device unless it is absolutely necessary. If a countdown device proves to be necessary, the doomsday device will be set to activate when the counter reaches 00:10:00, rather than 00:00:00.

ok, I got the kernel to boot with the root=/dev/sda1 but it only brought up the fs in read mode. had to use root=/dev/sda1 rw to boot. then got a nasty message at boot time about how /root was already mounted rw.

anyway it did boot but could not find the swap partition. I edited /etc/lilo.conf to change all the references from hdcX to sdaX, then ran lilo to install it.

Edited /etc/fstab again changed hdcX to sdaX rebooted and all was good.

However, I had a problem getting some of the drivers to work ( not discussed here) and booted from the 2.6.22.19 kernel and guess what IT sees hdcX partitions and not sdaX.

Any thoughts?

Logged

Evil Overlord rule 58 My doomsday device will not employ a large red digital countdown device unless it is absolutely necessary. If a countdown device proves to be necessary, the doomsday device will be set to activate when the counter reaches 00:10:00, rather than 00:00:00.

5.9 Light comes with two slightly different kernels, "sata" (default) and "ide". You can choose which one when you to use when booting from the CD. To use the IDE kernel to boot your installed system, use "ide root=/dev/sda1 ro".

Try to edit fstab (make a backup first) to reference "hdXX" instead of "sdXX", and boot to the secondary kernel. If it works better than the other, then edit /etc/lilo.conf to make "2.6.22.19" the default kernel (change the line that says "default = linux"), then run command "lilo" as root.