1 |
On 08/27/2010 07:02 PM, J. Roeleveld wrote: |
2 |
> On Friday 27 August 2010 17:57:01 Bill Longman wrote: |
3 |
>> On 08/27/2010 01:10 AM, J. Roeleveld wrote: |
4 |
>>> On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote: |
5 |
>>>> Anyway, make sure you have a bootable Linux CD/DVD handy. That way, you |
6 |
>>>> won't be able to blow anything up and can boot from it in order to |
7 |
>>>> change your /etc/fstab and grub conf. |
8 |
>>> |
9 |
>>> Alternatively, give your partitions Labels and reconfigure /etc/fstab to |
10 |
>>> use those. |
11 |
>>> Then you don't have to worry about the changes to the device-names. |
12 |
>> |
13 |
>> I second Joost's recommendation. I don't think you can use labels on the |
14 |
>> kernel command line, so your grub will have to know for sure which |
15 |
>> device to boot. |
16 |
> |
17 |
> Actually, you can: |
18 |
> http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.html |
19 |
> |
20 |
> (Read the section below "Use a label"): |
21 |
> |
22 |
> fstab: |
23 |
> LABEL=ROOT / ext3 defaults 1 1 |
24 |
> LABEL=BOOT /boot ext3 defaults 1 2 |
25 |
> LABEL=SWAP swap swap defaults 0 0 |
26 |
> LABEL=HOME /home ext3 nosuid,auto 1 2 |
27 |
|
28 |
This syntax never worked here. Always resulted in an unbootable system. |
29 |
Only the /dev/disk/by-label/ syntax works reliably. |