public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
Date: Sat, 28 Aug 2010 01:33:36 +0100	[thread overview]
Message-ID: <5C9E43CC-94E9-4E0E-A89B-43E6FA9D9C81@stellar.eclipse.co.uk> (raw)
In-Reply-To: <i58npk$9v0$2@dough.gmane.org>


On 27 Aug 2010, at 17:06, 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.

Because you need to use the `root=/dev/sdaX` format in GRUB?

I think an appropriate initrd/initramfs is required - I'm not sure if  
there are any other requirements - to use labels in GRUB. I think it's  
common to do things this way on RedHat systems, maybe with some other  
distros - that's what fouled me up when I tried using labels in GRUB;  
I just found grub.conf examples using them, and was unaware of this  
requirement.


Stroller.



  parent reply	other threads:[~2010-08-28  1:07 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-27  7:37 [gentoo-user] Old IDE drives and the "newer" PATA kernel drivers Dale
2010-08-27  7:49 ` [gentoo-user] " Nikos Chantziaras
2010-08-27  8:10   ` J. Roeleveld
2010-08-27  8:23     ` Jesús J. Guerrero Botella
2010-08-27  9:44       ` Dale
2010-08-28 13:34         ` Nuno J. Silva
2010-08-27 15:57     ` Bill Longman
2010-08-27 16:02       ` J. Roeleveld
2010-08-27 16:06         ` Nikos Chantziaras
2010-08-27 16:16           ` Bill Longman
2010-08-27 16:26           ` Bill Longman
2010-08-28  0:33           ` Stroller [this message]
2010-08-28  2:04           ` Daniel Pielmeier
2010-08-30 16:03             ` Paul Hartman
2010-08-30 16:32               ` Alan McKinnon
2010-08-30 17:54                 ` Dale
2010-08-30 19:15                   ` Bill Longman
2010-08-30 22:31                     ` Dale
2010-08-30 18:19                 ` Daniel Pielmeier
2010-08-27  8:50 ` Nikos Chantziaras
2010-08-27  9:00   ` Jesús J. Guerrero Botella
2010-08-27  9:37     ` J. Roeleveld
2010-08-27  9:49       ` Dale
2010-08-27  9:56         ` J. Roeleveld
2010-08-27 10:21           ` Dale
2010-08-27 23:06             ` Mick
2010-08-28  0:27               ` Stroller
2010-08-28  3:43                 ` Dale
2010-08-28  8:31                 ` Mick
2010-08-28  9:42                   ` Dale
2010-08-28 11:13                     ` Dale
2010-08-28 11:17                       ` Alex Schuster
2010-08-28 12:08                       ` Daniel Pielmeier
2010-08-28 13:36                         ` Dale
2010-08-28 13:45                           ` Nikos Chantziaras
2010-08-28 19:45                             ` Dale
2010-08-27 10:06         ` Alex Schuster
2010-08-27 12:32           ` Dale
2010-08-28 18:25             ` Alex Schuster
2010-08-28 19:42               ` Dale
2010-08-29  1:24                 ` Nikos Chantziaras
2010-08-29  6:04                   ` J. Roeleveld
2010-08-27 10:10         ` Nikos Chantziaras
2010-08-27 10:23           ` Dale
2010-09-01  0:38           ` Dale
2010-09-01  6:13             ` Nikos Chantziaras
2010-09-01  7:12               ` Dale
2010-09-02  7:46                 ` Neil Bothwick
2010-09-02  8:46                   ` Dale
2010-09-02  9:08                     ` Nikos Chantziaras
2010-09-02  9:18                       ` Dale
2010-09-02  9:25                         ` Alex Schuster
2010-09-02  9:38                           ` Nikos Chantziaras
2010-09-02  9:47                             ` Dale
2010-09-02 22:10                             ` Peter Humphrey
2010-09-02 22:24                               ` Dale
2010-09-02 23:57                               ` Nikos Chantziaras
2010-09-03 15:54                                 ` Peter Humphrey
2010-09-03 16:01                                   ` Nikos Chantziaras
2010-09-03 16:24                                     ` Peter Humphrey
2010-09-03 16:19                                   ` Dale
2010-09-03 16:31                                     ` Peter Humphrey
2010-09-03 17:50                                       ` Dale
2010-09-03 21:19                                       ` Neil Bothwick
2010-09-03 22:31                                         ` Peter Humphrey
2010-09-04  7:23                                           ` Nikos Chantziaras
2010-09-05  9:08                                             ` Peter Humphrey
2010-09-03 16:25                               ` Thanasis
2010-08-27 10:15   ` Stefan G. Weichinger
2010-08-27 16:03   ` Bill Longman
2010-08-27 16:10     ` J. Roeleveld
2010-08-27 16:22       ` Bill Longman
2010-08-27 16:37         ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5C9E43CC-94E9-4E0E-A89B-43E6FA9D9C81@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox