You are not logged in.
Pages: 1
Hi, could anyone explain me what changes have been made in the last kernel package compared to the one on instalation cd?
I have Asus mobo (P5VD1-X) and 2 IDE hard drives. I tried to add another drive, and as there is no space for another ide device (I have 2 cd drives as well) I bought sata drive.
So I have now:
Hitachi (ide) - sda
Maxtor (ide) - sdb
Seagate (sata)
When I boot up the installed system, Seagate turns into sda and Hitachi into sdb. I have a kernel panic.
Then I boot from latest instalation cd, but Seagate is now sdc...
How can I set up lilo.conf if the drives changing order depends on what I boot up from?
I follwed wiki and set up fstab and lilo.conf to use persistent names and reinstalled kernel. Everything works fine without Seagate, but when I connect this drive, I getting the kernel panic.
How can I add this drive to the system? Why this happens at all?
Thanks in advance for any help.
From /etc/fstab:
/dev/disk/by-label/SYS_SWAP swap swap defaults 0 0
/dev/disk/by-label/SYS_ROOT / ext3 defaults 0 1
/dev/disk/by-label/SYS_BOOT /boot ext3 defaults 0 1
/dev/disk/by-label/HOME_MICHAL /home/michal ext3 defaults 0 1
/dev/disk/by-label/HOME_MICHAL_HDA5 /home/michal/hda5 ext3 defaults 0 1
/dev/disk/by-label/HOME_MICHAL_HDC1 /home/michal/hdc1 ext3 defaults 0 1
lilo.conf:
boot=/dev/sda
# This line often fixes L40 errors on bootup
# disk=/dev/hda bios=0x80
default=arch
timeout=50
lba32
prompt
vga=791
image=/boot/vmlinuz26
label=arch
root=/dev/disk/by-label/SYS_ROOT
initrd=/boot/kernel26.img
read-only
image=/boot/vmlinuz26
label=arch-fallback
root=/dev/disk/by-label/SYS_ROOT
initrd=/boot/kernel26-fallback.img
read-only
"Real Men Use Telnet on port 80" (el bid)
Offline
lilo is stupid. lilo's root= option hardcodes a device number and passes something like root=123 to the kernel. Omit your root= option and use append="root=/dev/XXX" instead. Or even better, don't use lilo.
Offline
Hi brian0, thank you very much. Problem solved.
"Real Men Use Telnet on port 80" (el bid)
Offline
Pages: 1