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

What kernel drivers are you using?

Here's my fstab on my x64 box that has been booting perfectly for
months. And I boot it lots because it's my dev't box:

LABEL=boot     /boot         ext3          noauto,noatime  1 2
LABEL=root     /             ext3          relatime        0 1
LABEL=swap     none          swap          sw              0 0
LABEL=usr      /usr          ext3          relatime        0 2
LABEL=var      /var          ext3          relatime        0 2
LABEL=opt      /opt          ext3          relatime        0 2
LABEL=home     /home         ext3          relatime        0 2


Reply via email to