Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
Date: Fri, 27 Aug 2010 16:02:23
Message-Id: 201008271802.01198.joost@antarean.org
In Reply to: Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers by Bill Longman
1 On Friday 27 August 2010 17:57:01 Bill Longman wrote:
2 > On 08/27/2010 01:10 AM, J. Roeleveld wrote:
3 > > On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
4 > >> Anyway, make sure you have a bootable Linux CD/DVD handy. That way, you
5 > >> won't be able to blow anything up and can boot from it in order to
6 > >> change your /etc/fstab and grub conf.
7 > >
8 > > Alternatively, give your partitions Labels and reconfigure /etc/fstab to
9 > > use those.
10 > > Then you don't have to worry about the changes to the device-names.
11 >
12 > I second Joost's recommendation. I don't think you can use labels on the
13 > kernel command line, so your grub will have to know for sure which
14 > device to boot.
15
16 Actually, you can:
17 http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.html
18
19 (Read the section below "Use a label"):
20
21 fstab:
22 LABEL=ROOT / ext3 defaults 1 1
23 LABEL=BOOT /boot ext3 defaults 1 2
24 LABEL=SWAP swap swap defaults 0 0
25 LABEL=HOME /home ext3 nosuid,auto 1 2
26
27
28 grub:
29 title Linux
30 root (hd0,0)
31 kernel (hd0,0)/vmlinuz ro root=LABEL=ROOT rhgb quiet
32 initrd (hd0,0)/initrd-2.x.x-xx.img
33
34 Not tested it myself yet, but I think this doesn't require special patches :)
35
36 --
37 Joost

Replies

Subject Author
[gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers Nikos Chantziaras <realnc@×××××.de>