You are not logged in.

#1 2008-02-12 19:27:10

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Custom kernel with old ata drivers and /etc/fstab [SOLVED]

I am on a quest to get suspend to RAM working on my notebook. Had it working in Gentoo, but never could get it to work in Arch, the crucial point is the hard drive. In Gentoo I used the old ata drivers and Arch stock kernel uses libata, therefore I wanted to try the old drivers and compiled a custom kernel. The result now is that the drive is now /dev/hda instead of /dev/sda and I would have to change /etc/fstab accordingly to boot, which I havn't tried yet, since I was afraid of having my notebook in an unusable state.
Is there better solution to this dilemma, or is the only way to risk it and try and to do the whole chroot stuff in case it goes wrong? On my Ubuntu box I have these entries in /etc/fstab. How does it work there?

# /dev/sdb7
UUID=8c207b8d-e135-4514-be20-63e118426c4f /               ext3    defaults,errors=remount-ro 0       1
# /dev/sdb1
UUID=9c56f3ed-9d8e-477b-8cd6-4e1c83083867 /boot           ext2    defaults        0       2

Thanks, signor_rossi.

Last edited by signor_rossi (2008-02-12 20:48:30)

Offline

#2 2008-02-12 19:58:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Custom kernel with old ata drivers and /etc/fstab [SOLVED]

You can use uuid or label, details here; http://wiki.archlinux.org/index.php/Per … ice_naming

Offline

#3 2008-02-12 20:00:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Custom kernel with old ata drivers and /etc/fstab [SOLVED]

Sorry, meant to add that you can use the legacy ata drivers with the Arch kernel too - simply edit /etc/mkinitcpio.conf as required and regenerate the initrd image.

Offline

#4 2008-02-12 20:47:58

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: Custom kernel with old ata drivers and /etc/fstab [SOLVED]

Thanks, exactly the info I was looking for! smile

Bye, signor_rossi.

Offline

Board footer

Powered by FluxBB