Jump to content

2.6 kernel and a7v600


Recommended Posts

I thought I'd post this, for my future reference and for the aid of possibly others. My a7v600 has a Via SATA Raid controller onboard, but I'm not using it. Upgrading from 9.2 to 10, I was unable to boot a 2.6.* kernel. I just recently did a complete reinstall of 10 CE on the machine and it works fine with the 2.6.3-4mdk kernel. Here's my /etc/fstab which kinda shows why I had problems:

/etc/fstab

/dev/hde1 / ext3 defaults 1 1
/dev/hde5 /backup reiserfs notail 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hde7 /home ext3 defaults 1 2
/dev/hdg /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/hdh /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /proc proc defaults 0 0
/dev/hde6 swap swap defaults 0 0

 

/etc/lilo.conf

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hde
map=/boot/map
default="263i686up4G-7"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hde bios=0x80
image=/boot/vmlinuz
       label="linux"
       root=/dev/hde1
       initrd=/boot/initrd.img
       append="devfs=mount acpi=ht resume=/dev/hde6 splash=silent"
       vga=788
       read-only
image=/boot/vmlinuz
       label="linux-nonfb"
       root=/dev/hde1
       initrd=/boot/initrd.img
       append="devfs=mount acpi=ht resume=/dev/hde6"
       read-only
image=/boot/vmlinuz-2.6
       label="263-4"
       root=/dev/hde1
       initrd=/boot/initrd-2.6.img
       append="devfs=mount acpi=ht resume=/dev/hde6 splash=silent"
       read-only
image=/boot/vmlinuz
       label="failsafe"
       root=/dev/hde1
       initrd=/boot/initrd.img
       append="failsafe acpi=ht resume=/dev/hde6 devfs=nomount"
       read-only

image=/boot/vmlinuz-2.6.7-0.rc2.1mdk
       label="267-0rc21"
       root=/dev/hde1
       read-only
       optional
       vga=788
       append=" devfs=mount acpi=ht resume=/dev/hde6 splash=silent"
       initrd=/boot/initrd-2.6.7-0.rc2.1mdk.img

image=/boot/vmlinuz-2.6.3-7mdk-i686-up-4GB
       label=263i686up4G-7
       root=/dev/hde1
       read-only
       optional
       vga=788
       append=" devfs=mount acpi=ht resume=/dev/hde6 splash=silent"
       initrd=/boot/initrd-2.6.3-7mdk-i686-up-4GB.img

 

Notice it sees my HD as /dev/hde (I guess because it is seeing the SATA controller first). Well, now 2.4.* kernels don't boot, so I guess in order to boot them, I have to edit /etc/fstab to show the HD back at /dev/hda and also edit /etc/lilo.conf to reflect that.

Edited by Steve Scrimpshire
Link to comment
Share on other sites

  • 3 weeks later...

Well, a new development...the 2.6.7*mdk kernel now knows the SATA drive is empty, so *it* wouldn't boot. I had to change /etc/fstab back to the /dev/hda* for the HD, /dev/hdc for cdrom, /dev/hdd for dvd and then reboot, hitting ESC at the lilo prompt and then typing in linux root=/dev/hda1, then after booting, change /etc/lilo.conf and run lilo.

Edited by Steve Scrimpshire
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...