public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Old IDE drives and the "newer" PATA kernel drivers
@ 2010-08-27  7:37 Dale
  2010-08-27  7:49 ` [gentoo-user] " Nikos Chantziaras
  2010-08-27  8:50 ` Nikos Chantziaras
  0 siblings, 2 replies; 73+ messages in thread
From: Dale @ 2010-08-27  7:37 UTC (permalink / raw
  To: Gentoo User

Hi folks,

I been putting this off but it looks like the newer kernels are going to 
push me to changing this real soon.  I have a older system, Abit NF7 2.0 
motherboard with the older IDE drives.  I'm still using the older IDE 
drivers.  This is what I have currently:

hda  Actual hard drive  OS on this
hdb  Actual hard drive  Not in use
hdc  Actual hard drive  home partition
hdd  DVD burner  Duh!  It's a burner.
sda   Actual hard drive connected through a SATA PCI card.   Misc stuff.


So, hda has the Gentoo OS on it and hdc is my /hone directory.   I have 
videos, mp3's and various other data on sda.   Currently hdb is not 
being used, since for those who keep up with my threads would know, it 
is the one that is terribly slow.  Something along the lines of 
10Mbs/sec or something of that nature.   It's just hard to get out of 
the case right now and I can't get to it with a hammer either.  :/

My theory is something like this:  hda will become sda;  hdb will become 
sdb;  hdc will become sdc; hdd will become sdd; and sda will become 
sde.  Would that be a logical expectation?  Anybody see anything that 
may cause a hiccup on this change?  I know I have to update fstab before 
rebooting.  I may also have a sledge hammer or a really big shotgun 
close by, just in case it gets any bad ideas like messing up /home.  ;-)

I'm currently using this:

AMD and nVidia IDE support

This would be the new, possibly improved, version of things:

AMD/NVidia PATA support

Correct?

I'm just wanting to cover a few bases and make sure I am on the right 
track and understand things before I blow up something.

Thanks.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  7:37 [gentoo-user] Old IDE drives and the "newer" PATA kernel drivers Dale
@ 2010-08-27  7:49 ` Nikos Chantziaras
  2010-08-27  8:10   ` J. Roeleveld
  2010-08-27  8:50 ` Nikos Chantziaras
  1 sibling, 1 reply; 73+ messages in thread
From: Nikos Chantziaras @ 2010-08-27  7:49 UTC (permalink / raw
  To: gentoo-user

On 08/27/2010 10:37 AM, Dale wrote:
> Hi folks,
>
> I been putting this off but it looks like the newer kernels are going to
> push me to changing this real soon. I have a older system, Abit NF7 2.0
> motherboard with the older IDE drives. I'm still using the older IDE
> drivers. This is what I have currently:
>
> hda Actual hard drive OS on this
> hdb Actual hard drive Not in use
> hdc Actual hard drive home partition
> hdd DVD burner Duh! It's a burner.
> sda Actual hard drive connected through a SATA PCI card. Misc stuff.
>
>
> So, hda has the Gentoo OS on it and hdc is my /hone directory. I have
> videos, mp3's and various other data on sda. Currently hdb is not being
> used, since for those who keep up with my threads would know, it is the
> one that is terribly slow. Something along the lines of 10Mbs/sec or
> something of that nature. It's just hard to get out of the case right
> now and I can't get to it with a hammer either. :/

You can at least disconnect it then.  Right now all it does and eat 
power, heat the case and make noise :-/


> My theory is something like this: hda will become sda; hdb will become
> sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
> Would that be a logical expectation?

I'd say sda will stay as is, hda will become sdb, and so forth.

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.




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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 15:57     ` Bill Longman
  0 siblings, 2 replies; 73+ messages in thread
From: J. Roeleveld @ 2010-08-27  8:10 UTC (permalink / raw
  To: gentoo-user

On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
> On 08/27/2010 10:37 AM, Dale wrote:
> > Hi folks,
> > 
> > I been putting this off but it looks like the newer kernels are going to
> > push me to changing this real soon. I have a older system, Abit NF7 2.0
> > motherboard with the older IDE drives. I'm still using the older IDE
> > drivers. This is what I have currently:
> > 
> > hda Actual hard drive OS on this
> > hdb Actual hard drive Not in use
> > hdc Actual hard drive home partition
> > hdd DVD burner Duh! It's a burner.
> > sda Actual hard drive connected through a SATA PCI card. Misc stuff.
> > 
> > 
> > So, hda has the Gentoo OS on it and hdc is my /hone directory. I have
> > videos, mp3's and various other data on sda. Currently hdb is not being
> > used, since for those who keep up with my threads would know, it is the
> > one that is terribly slow. Something along the lines of 10Mbs/sec or
> > something of that nature. It's just hard to get out of the case right
> > now and I can't get to it with a hammer either. :/
> 
> You can at least disconnect it then.  Right now all it does and eat
> power, heat the case and make noise :-/
> 
> > My theory is something like this: hda will become sda; hdb will become
> > sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
> > Would that be a logical expectation?
> 
> I'd say sda will stay as is, hda will become sdb, and so forth.
> 
> 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.

--
Joost



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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-27 15:57     ` Bill Longman
  1 sibling, 1 reply; 73+ messages in thread
From: Jesús J. Guerrero Botella @ 2010-08-27  8:23 UTC (permalink / raw
  To: gentoo-user

2010/8/27 J. Roeleveld <joost@antarean.org>:
> On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
>> On 08/27/2010 10:37 AM, Dale wrote:
>> > Hi folks,
>> >
>> > I been putting this off but it looks like the newer kernels are going to
>> > push me to changing this real soon. I have a older system, Abit NF7 2.0
>> > motherboard with the older IDE drives. I'm still using the older IDE
>> > drivers. This is what I have currently:
>> >
>> > hda Actual hard drive OS on this
>> > hdb Actual hard drive Not in use
>> > hdc Actual hard drive home partition
>> > hdd DVD burner Duh! It's a burner.
>> > sda Actual hard drive connected through a SATA PCI card. Misc stuff.
>> >
>> >
>> > So, hda has the Gentoo OS on it and hdc is my /hone directory. I have
>> > videos, mp3's and various other data on sda. Currently hdb is not being
>> > used, since for those who keep up with my threads would know, it is the
>> > one that is terribly slow. Something along the lines of 10Mbs/sec or
>> > something of that nature. It's just hard to get out of the case right
>> > now and I can't get to it with a hammer either. :/
>>
>> You can at least disconnect it then.  Right now all it does and eat
>> power, heat the case and make noise :-/
>>
>> > My theory is something like this: hda will become sda; hdb will become
>> > sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
>> > Would that be a logical expectation?
>>
>> I'd say sda will stay as is, hda will become sdb, and so forth.

This entirely depends on the way your BIOS orders your drivers, as far
as I know. It could be either way. But, we all know how flexible grub
is. You can just use TAB to autocomplete and try. All you need to boot
is your root fs, after that fdisk -l will reveal all the info you
need. fstab is another story, that might cost you an extra reboot into
a livecd to fix it.

But, using labels as said will fix all the problems (beforehand) for
you, as said.


-- 
Jesús Guerrero Botella



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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:50 ` Nikos Chantziaras
  2010-08-27  9:00   ` Jesús J. Guerrero Botella
                     ` (2 more replies)
  1 sibling, 3 replies; 73+ messages in thread
From: Nikos Chantziaras @ 2010-08-27  8:50 UTC (permalink / raw
  To: gentoo-user

On 08/27/2010 10:37 AM, Dale wrote:
> I been putting this off but it looks like the newer kernels are going to
> push me to changing this real soon. I have a older system, Abit NF7 2.0
> motherboard with the older IDE drives. I'm still using the older IDE
> drivers. This is what I have currently:
>
> hda Actual hard drive OS on this
> hdb Actual hard drive Not in use
> hdc Actual hard drive home partition
> hdd DVD burner Duh! It's a burner.
> sda Actual hard drive connected through a SATA PCI card. Misc stuff.

The advice by the other posters to label your disks is a good one.  I'm 
using labels too.  Not sure why I didn't think to mention it :P

Applying labels to your filesystems is trivial.  Simply use the e2label 
utility (it's in the sys-fs/e2fsprogs package and installed by default, 
so there's nothing new to emerge).  For example, if your hda1 is your 
root partition and your hda2 your swap, you can label them like this:

   e2label /dev/hda1 GentooRoot
   e2label /dev/hda2 GentooSwap

Note: hda1, not just hda.  You are labeling the filesystem on a 
partition, not the whole drive.

After you label all your filesystems, you simply modify your /etc/fstab 
like this:

Before:
/dev/hda1  /  ext4  noatime  0 1
/dev/hda2  none  swap  sw  0 0

After:
/dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
/dev/disk/by-label/GentooSwap  none  swap  sw 0 0

That is, you simply change "/dev/blah" to 
"/dev/disk/by-label/DriveLabel" and that's it.




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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 10:15   ` Stefan G. Weichinger
  2010-08-27 16:03   ` Bill Longman
  2 siblings, 1 reply; 73+ messages in thread
From: Jesús J. Guerrero Botella @ 2010-08-27  9:00 UTC (permalink / raw
  To: gentoo-user

2010/8/27 Nikos Chantziaras <realnc@arcor.de>:
> On 08/27/2010 10:37 AM, Dale wrote:
>>
>> I been putting this off but it looks like the newer kernels are going to
>> push me to changing this real soon. I have a older system, Abit NF7 2.0
>> motherboard with the older IDE drives. I'm still using the older IDE
>> drivers. This is what I have currently:
>>
>> hda Actual hard drive OS on this
>> hdb Actual hard drive Not in use
>> hdc Actual hard drive home partition
>> hdd DVD burner Duh! It's a burner.
>> sda Actual hard drive connected through a SATA PCI card. Misc stuff.
>
> The advice by the other posters to label your disks is a good one.  I'm
> using labels too.  Not sure why I didn't think to mention it :P
>
> Applying labels to your filesystems is trivial.  Simply use the e2label
> utility (it's in the sys-fs/e2fsprogs package and installed by default, so
> there's nothing new to emerge).  For example, if your hda1 is your root
> partition and your hda2 your swap, you can label them like this:
>
>  e2label /dev/hda1 GentooRoot
>  e2label /dev/hda2 GentooSwap
>
> Note: hda1, not just hda.  You are labeling the filesystem on a partition,
> not the whole drive.
>
> After you label all your filesystems, you simply modify your /etc/fstab like
> this:
>
> Before:
> /dev/hda1  /  ext4  noatime  0 1
> /dev/hda2  none  swap  sw  0 0
>
> After:
> /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
> /dev/disk/by-label/GentooSwap  none  swap  sw 0 0
>
> That is, you simply change "/dev/blah" to "/dev/disk/by-label/DriveLabel"
> and that's it.
>
>
>
Or you can do it by uuid, all the info you need can be picked from this output:

$ ls /dev/disk/by-uuid/ -l

Then just add lines to fstab like this:

UUID="6ea2b219-0bcc-4c90-9960-82a9659e6d0e" / ext4 noatime 0 1
-- 
Jesús Guerrero Botella



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  9:00   ` Jesús J. Guerrero Botella
@ 2010-08-27  9:37     ` J. Roeleveld
  2010-08-27  9:49       ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: J. Roeleveld @ 2010-08-27  9:37 UTC (permalink / raw
  To: gentoo-user

On Friday 27 August 2010 11:00:58 Jesús J. Guerrero Botella wrote:
> 2010/8/27 Nikos Chantziaras <realnc@arcor.de>:
> > On 08/27/2010 10:37 AM, Dale wrote:
> >> I been putting this off but it looks like the newer kernels are going to
> >> push me to changing this real soon. I have a older system, Abit NF7 2.0
> >> motherboard with the older IDE drives. I'm still using the older IDE
> >> drivers. This is what I have currently:
> >> 
> >> hda Actual hard drive OS on this
> >> hdb Actual hard drive Not in use
> >> hdc Actual hard drive home partition
> >> hdd DVD burner Duh! It's a burner.
> >> sda Actual hard drive connected through a SATA PCI card. Misc stuff.
> > 
> > The advice by the other posters to label your disks is a good one.  I'm
> > using labels too.  Not sure why I didn't think to mention it :P
> > 
> > Applying labels to your filesystems is trivial.  Simply use the e2label
> > utility (it's in the sys-fs/e2fsprogs package and installed by default,
> > so there's nothing new to emerge).  For example, if your hda1 is your
> > root partition and your hda2 your swap, you can label them like this:
> > 
> >  e2label /dev/hda1 GentooRoot
> >  e2label /dev/hda2 GentooSwap
> > 
> > Note: hda1, not just hda.  You are labeling the filesystem on a
> > partition, not the whole drive.
> > 
> > After you label all your filesystems, you simply modify your /etc/fstab
> > like this:
> > 
> > Before:
> > /dev/hda1  /  ext4  noatime  0 1
> > /dev/hda2  none  swap  sw  0 0
> > 
> > After:
> > /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
> > /dev/disk/by-label/GentooSwap  none  swap  sw 0 0
> > 
> > That is, you simply change "/dev/blah" to "/dev/disk/by-label/DriveLabel"
> > and that's it.
> 
> Or you can do it by uuid, all the info you need can be picked from this
> output:
> 
> $ ls /dev/disk/by-uuid/ -l
> 
> Then just add lines to fstab like this:
> 
> UUID="6ea2b219-0bcc-4c90-9960-82a9659e6d0e" / ext4 noatime 0 1

True, except that for mere mortals, Labels are slightly easier to read and 
understand :)

And that, I find, is less prone to mistakes.

--
Joost



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  8:23     ` Jesús J. Guerrero Botella
@ 2010-08-27  9:44       ` Dale
  2010-08-28 13:34         ` Nuno J. Silva
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-08-27  9:44 UTC (permalink / raw
  To: gentoo-user

Jesús J. Guerrero Botella wrote:
> 2010/8/27 J. Roeleveld<joost@antarean.org>:
>    
>> On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
>>      
>>> On 08/27/2010 10:37 AM, Dale wrote:
>>>        
>>>> Hi folks,
>>>>
>>>> I been putting this off but it looks like the newer kernels are going to
>>>> push me to changing this real soon. I have a older system, Abit NF7 2.0
>>>> motherboard with the older IDE drives. I'm still using the older IDE
>>>> drivers. This is what I have currently:
>>>>
>>>> hda Actual hard drive OS on this
>>>> hdb Actual hard drive Not in use
>>>> hdc Actual hard drive home partition
>>>> hdd DVD burner Duh! It's a burner.
>>>> sda Actual hard drive connected through a SATA PCI card. Misc stuff.
>>>>
>>>>
>>>> So, hda has the Gentoo OS on it and hdc is my /hone directory. I have
>>>> videos, mp3's and various other data on sda. Currently hdb is not being
>>>> used, since for those who keep up with my threads would know, it is the
>>>> one that is terribly slow. Something along the lines of 10Mbs/sec or
>>>> something of that nature. It's just hard to get out of the case right
>>>> now and I can't get to it with a hammer either. :/
>>>>          
>>> You can at least disconnect it then.  Right now all it does and eat
>>> power, heat the case and make noise :-/
>>>
>>>        
>>>> My theory is something like this: hda will become sda; hdb will become
>>>> sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
>>>> Would that be a logical expectation?
>>>>          
>>> I'd say sda will stay as is, hda will become sdb, and so forth.
>>>        
> This entirely depends on the way your BIOS orders your drivers, as far
> as I know. It could be either way. But, we all know how flexible grub
> is. You can just use TAB to autocomplete and try. All you need to boot
> is your root fs, after that fdisk -l will reveal all the info you
> need. fstab is another story, that might cost you an extra reboot into
> a livecd to fix it.
>
> But, using labels as said will fix all the problems (beforehand) for
> you, as said.
>
>
>    

I have heard of the labels before but never used them.  I need to google 
that and see how that is done.

Another thing that I hadn't thought of, grub.  I didn't even think about 
grub would have to be edited.  That would have been interesting when I 
tried to boot up.

Thanks.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  9:37     ` J. Roeleveld
@ 2010-08-27  9:49       ` Dale
  2010-08-27  9:56         ` J. Roeleveld
                           ` (2 more replies)
  0 siblings, 3 replies; 73+ messages in thread
From: Dale @ 2010-08-27  9:49 UTC (permalink / raw
  To: gentoo-user

J. Roeleveld wrote:
> On Friday 27 August 2010 11:00:58 Jesús J. Guerrero Botella wrote:
>    
>> 2010/8/27 Nikos Chantziaras<realnc@arcor.de>:
>>      
>>> On 08/27/2010 10:37 AM, Dale wrote:
>>>        
>>>> I been putting this off but it looks like the newer kernels are going to
>>>> push me to changing this real soon. I have a older system, Abit NF7 2.0
>>>> motherboard with the older IDE drives. I'm still using the older IDE
>>>> drivers. This is what I have currently:
>>>>
>>>> hda Actual hard drive OS on this
>>>> hdb Actual hard drive Not in use
>>>> hdc Actual hard drive home partition
>>>> hdd DVD burner Duh! It's a burner.
>>>> sda Actual hard drive connected through a SATA PCI card. Misc stuff.
>>>>          
>>> The advice by the other posters to label your disks is a good one.  I'm
>>> using labels too.  Not sure why I didn't think to mention it :P
>>>
>>> Applying labels to your filesystems is trivial.  Simply use the e2label
>>> utility (it's in the sys-fs/e2fsprogs package and installed by default,
>>> so there's nothing new to emerge).  For example, if your hda1 is your
>>> root partition and your hda2 your swap, you can label them like this:
>>>
>>>   e2label /dev/hda1 GentooRoot
>>>   e2label /dev/hda2 GentooSwap
>>>
>>> Note: hda1, not just hda.  You are labeling the filesystem on a
>>> partition, not the whole drive.
>>>
>>> After you label all your filesystems, you simply modify your /etc/fstab
>>> like this:
>>>
>>> Before:
>>> /dev/hda1  /  ext4  noatime  0 1
>>> /dev/hda2  none  swap  sw  0 0
>>>
>>> After:
>>> /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
>>> /dev/disk/by-label/GentooSwap  none  swap  sw 0 0
>>>
>>> That is, you simply change "/dev/blah" to "/dev/disk/by-label/DriveLabel"
>>> and that's it.
>>>        
>> Or you can do it by uuid, all the info you need can be picked from this
>> output:
>>
>> $ ls /dev/disk/by-uuid/ -l
>>
>> Then just add lines to fstab like this:
>>
>> UUID="6ea2b219-0bcc-4c90-9960-82a9659e6d0e" / ext4 noatime 0 1
>>      
> True, except that for mere mortals, Labels are slightly easier to read and
> understand :)
>
> And that, I find, is less prone to mistakes.
>
> --
> Joost
>
>
>    

Hmmm, I use resierfs for my file systems, most of them anyway.  I still 
use e2fsprogs to change those?

Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA 
drivers?  That way I can boot it and see exactly how it will name them 
and what drive is what without actually changing anything at all.  Is 
there a boot option "noide" or some other switch I can use?

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  9:49       ` Dale
@ 2010-08-27  9:56         ` J. Roeleveld
  2010-08-27 10:21           ` Dale
  2010-08-27 10:06         ` Alex Schuster
  2010-08-27 10:10         ` Nikos Chantziaras
  2 siblings, 1 reply; 73+ messages in thread
From: J. Roeleveld @ 2010-08-27  9:56 UTC (permalink / raw
  To: gentoo-user

On Friday 27 August 2010 11:49:00 Dale wrote:
> J. Roeleveld wrote:
> > On Friday 27 August 2010 11:00:58 Jesús J. Guerrero Botella wrote:
> >> 2010/8/27 Nikos Chantziaras<realnc@arcor.de>:
> >>> On 08/27/2010 10:37 AM, Dale wrote:
> >>>> I been putting this off but it looks like the newer kernels are going
> >>>> to push me to changing this real soon. I have a older system, Abit
> >>>> NF7 2.0 motherboard with the older IDE drives. I'm still using the
> >>>> older IDE drivers. This is what I have currently:
> >>>> 
> >>>> hda Actual hard drive OS on this
> >>>> hdb Actual hard drive Not in use
> >>>> hdc Actual hard drive home partition
> >>>> hdd DVD burner Duh! It's a burner.
> >>>> sda Actual hard drive connected through a SATA PCI card. Misc stuff.
> >>> 
> >>> The advice by the other posters to label your disks is a good one.  I'm
> >>> using labels too.  Not sure why I didn't think to mention it :P
> >>> 
> >>> Applying labels to your filesystems is trivial.  Simply use the e2label
> >>> utility (it's in the sys-fs/e2fsprogs package and installed by default,
> >>> so there's nothing new to emerge).  For example, if your hda1 is your
> >>> 
> >>> root partition and your hda2 your swap, you can label them like this:
> >>>   e2label /dev/hda1 GentooRoot
> >>>   e2label /dev/hda2 GentooSwap
> >>> 
> >>> Note: hda1, not just hda.  You are labeling the filesystem on a
> >>> partition, not the whole drive.
> >>> 
> >>> After you label all your filesystems, you simply modify your /etc/fstab
> >>> like this:
> >>> 
> >>> Before:
> >>> /dev/hda1  /  ext4  noatime  0 1
> >>> /dev/hda2  none  swap  sw  0 0
> >>> 
> >>> After:
> >>> /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
> >>> /dev/disk/by-label/GentooSwap  none  swap  sw 0 0
> >>> 
> >>> That is, you simply change "/dev/blah" to
> >>> "/dev/disk/by-label/DriveLabel" and that's it.
> >> 
> >> Or you can do it by uuid, all the info you need can be picked from this
> >> output:
> >> 
> >> $ ls /dev/disk/by-uuid/ -l
> >> 
> >> Then just add lines to fstab like this:
> >> 
> >> UUID="6ea2b219-0bcc-4c90-9960-82a9659e6d0e" / ext4 noatime 0 1
> > 
> > True, except that for mere mortals, Labels are slightly easier to read
> > and understand :)
> > 
> > And that, I find, is less prone to mistakes.
> > 
> > --
> > Joost
> 
> Hmmm, I use resierfs for my file systems, most of them anyway.  I still
> use e2fsprogs to change those?

Nope:
eve ~ # reiserfstune --help
reiserfstune: unrecognized option '--help'
reiserfstune: Usage: reiserfstune [options] device [block-count]

Options:

  -j | --journal-device file    current journal device
  --journal-new-device file     new journal device
  -o | --journal-new-offset N   new journal offset in blocks
  -s | --journal-new-size N     new journal size in blocks
  -t | --trans-max-size N       new journal max transaction size in blocks
  --no-journal-available        current journal is not available
  --make-journal-standard       new journal to be standard
  -b | --add-badblocks file     add to bad block list
  -B | --badblocks file         set the bad block list
  -u | --uuid UUID|random       set new UUID
  -l | --label LABEL            set new label
  -f | --force                  force tuning, less confirmations
  -V                            print version and exit

IOW (as example):
reiserfstune -l ROOTDISK /dev/hda1

> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
> drivers?  That way I can boot it and see exactly how it will name them
> and what drive is what without actually changing anything at all.  Is
> there a boot option "noide" or some other switch I can use?

Afraid not.
The naming scheme is, officially, not constant and can change with reboots.

On my server, with hotswap, I get different device-names when I remove a disk 
and plug it back in.
Eg. /dev/sdb -> /dev/sdj
(as example)
Don't think you'll have that particular issue, but having these names change 
between reboots is possible. Especially if a drive fails and is not found 
during boot or a new drive is added.

Not tested, but I believe USB-drives might also get pushed into the mix?

--
Joost



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  9:49       ` Dale
  2010-08-27  9:56         ` J. Roeleveld
@ 2010-08-27 10:06         ` Alex Schuster
  2010-08-27 12:32           ` Dale
  2010-08-27 10:10         ` Nikos Chantziaras
  2 siblings, 1 reply; 73+ messages in thread
From: Alex Schuster @ 2010-08-27 10:06 UTC (permalink / raw
  To: gentoo-user

Dale writes:

> Hmmm, I use resierfs for my file systems, most of them anyway.  I still
> use e2fsprogs to change those?

No, but you can use reiserfstune -l.

> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
> drivers?  That way I can boot it and see exactly how it will name them
> and what drive is what without actually changing anything at all.  Is
> there a boot option "noide" or some other switch I can use?

Don't know. But even if so the result is not cecessarily accurate.

My two SATA drives were sd[ab], but when I added two PATA drives those got 
these names, and the SATA ones became sa[cd]. But even this changes, with 
a kernel derived from GRML, the PATA ones were sd[bc], and the SATA ones 
sd[ad]. Weird, huh? And things become even mor eunpredictable when I have 
USB drives plugged in during boot. So I also suggest using labels or 
UUIDs.

My own method is yet another one. As I have everything on LVM (except for 
the /boot partitino, which is on an USB stick), my drives are identified 
by their volume group. /dev/weird is the system drive, /dev/weird2 is the 
identical backup drive. This way I do not have any /dev/sdX in either 
fstab or grub.conf. And when the system drive fails, I vgrename wird2 to 
weird, and then the backup drive will become the system drive.

	Wonko



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  9:49       ` Dale
  2010-08-27  9:56         ` J. Roeleveld
  2010-08-27 10:06         ` Alex Schuster
@ 2010-08-27 10:10         ` Nikos Chantziaras
  2010-08-27 10:23           ` Dale
  2010-09-01  0:38           ` Dale
  2 siblings, 2 replies; 73+ messages in thread
From: Nikos Chantziaras @ 2010-08-27 10:10 UTC (permalink / raw
  To: gentoo-user

On 08/27/2010 12:49 PM, Dale wrote:
> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
> drivers? That way I can boot it and see exactly how it will name them
> and what drive is what without actually changing anything at all. Is
> there a boot option "noide" or some other switch I can use?

You do the labeling *before* you switch to the new kernel.  Once you get 
it working correctly with your current kernel, then you can upgrade to 
the new ATA drivers and it will just work (which is the whole point of 
this exercise.)




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  8:50 ` Nikos Chantziaras
  2010-08-27  9:00   ` Jesús J. Guerrero Botella
@ 2010-08-27 10:15   ` Stefan G. Weichinger
  2010-08-27 16:03   ` Bill Longman
  2 siblings, 0 replies; 73+ messages in thread
From: Stefan G. Weichinger @ 2010-08-27 10:15 UTC (permalink / raw
  To: gentoo-user

Am 27.08.2010 10:50, schrieb Nikos Chantziaras:

> Applying labels to your filesystems is trivial.  Simply use the e2label
> utility (it's in the sys-fs/e2fsprogs package and installed by default,
> so there's nothing new to emerge).  For example, if your hda1 is your
> root partition and your hda2 your swap, you can label them like this:
> 
>   e2label /dev/hda1 GentooRoot
>   e2label /dev/hda2 GentooSwap
> 
> Note: hda1, not just hda.  You are labeling the filesystem on a
> partition, not the whole drive.

Would that work for raid-devices as well?

# /etc/fstab
/dev/md0 	/	ext4	noatime,nobarrier,nodiratime	0 1

Just curious ...

Umm, why not try it?

# e2label /dev/md0 gentooRoot
# ls /dev/disk/by-label/gentooRoot -l
lrwxrwxrwx 1 root root 9 27. Aug 12:14 /dev/disk/by-label/gentooRoot ->
../../md0

cool ...

thx, Stefan



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  9:56         ` J. Roeleveld
@ 2010-08-27 10:21           ` Dale
  2010-08-27 23:06             ` Mick
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-08-27 10:21 UTC (permalink / raw
  To: gentoo-user

J. Roeleveld wrote:
> On Friday 27 August 2010 11:49:00 Dale wrote:
>    
>> J. Roeleveld wrote:
>>      
>> Hmmm, I use resierfs for my file systems, most of them anyway.  I still
>> use e2fsprogs to change those?
>>      
> Nope:
> eve ~ # reiserfstune --help
> reiserfstune: unrecognized option '--help'
> reiserfstune: Usage: reiserfstune [options] device [block-count]
>
> Options:
>
>    -j | --journal-device file    current journal device
>    --journal-new-device file     new journal device
>    -o | --journal-new-offset N   new journal offset in blocks
>    -s | --journal-new-size N     new journal size in blocks
>    -t | --trans-max-size N       new journal max transaction size in blocks
>    --no-journal-available        current journal is not available
>    --make-journal-standard       new journal to be standard
>    -b | --add-badblocks file     add to bad block list
>    -B | --badblocks file         set the bad block list
>    -u | --uuid UUID|random       set new UUID
>    -l | --label LABEL            set new label
>    -f | --force                  force tuning, less confirmations
>    -V                            print version and exit
>
> IOW (as example):
> reiserfstune -l ROOTDISK /dev/hda1
>
>    
>> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
>> drivers?  That way I can boot it and see exactly how it will name them
>> and what drive is what without actually changing anything at all.  Is
>> there a boot option "noide" or some other switch I can use?
>>      
> Afraid not.
> The naming scheme is, officially, not constant and can change with reboots.
>
> On my server, with hotswap, I get different device-names when I remove a disk
> and plug it back in.
> Eg. /dev/sdb ->  /dev/sdj
> (as example)
> Don't think you'll have that particular issue, but having these names change
> between reboots is possible. Especially if a drive fails and is not found
> during boot or a new drive is added.
>
> Not tested, but I believe USB-drives might also get pushed into the mix?
>
> --
> Joost
>
>
>    

I do know the USB stuff changes but I wasn't sure about the others.  I 
would think the main drives in a system would come first but one could 
never make that promise.  I'm giving serious thought to using the 
labels.  It would also mean that I don't have to remember what partition 
is what.  Currently I would mount and then list what is in the directory 
to see what is in it and figure out what it is.  With the labels 
feature, even fdisk would tell me what is what.

This would be a good time to move the OS to a new drive.  If things work 
out, run from the new drive.  If things blow up, boot the old drive with 
the old kernel, old fstab and other settings.

Thanks.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 10:10         ` Nikos Chantziaras
@ 2010-08-27 10:23           ` Dale
  2010-09-01  0:38           ` Dale
  1 sibling, 0 replies; 73+ messages in thread
From: Dale @ 2010-08-27 10:23 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 08/27/2010 12:49 PM, Dale wrote:
>> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
>> drivers? That way I can boot it and see exactly how it will name them
>> and what drive is what without actually changing anything at all. Is
>> there a boot option "noide" or some other switch I can use?
>
> You do the labeling *before* you switch to the new kernel.  Once you 
> get it working correctly with your current kernel, then you can 
> upgrade to the new ATA drivers and it will just work (which is the 
> whole point of this exercise.)
>

I hadn't thought of that feature.  It should work regardless of which 
kernel I boot, either the old IDE drivers or the new PATA drivers.  Cool !!!

Time to start taking notes and putting ducks beaks to duck tails.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 10:06         ` Alex Schuster
@ 2010-08-27 12:32           ` Dale
  2010-08-28 18:25             ` Alex Schuster
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-08-27 12:32 UTC (permalink / raw
  To: gentoo-user

Alex Schuster wrote:
> Dale writes:
>
>    
>> Hmmm, I use resierfs for my file systems, most of them anyway.  I still
>> use e2fsprogs to change those?
>>      
> No, but you can use reiserfstune -l.
>
>    
>> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
>> drivers?  That way I can boot it and see exactly how it will name them
>> and what drive is what without actually changing anything at all.  Is
>> there a boot option "noide" or some other switch I can use?
>>      
> Don't know. But even if so the result is not cecessarily accurate.
>
> My two SATA drives were sd[ab], but when I added two PATA drives those got
> these names, and the SATA ones became sa[cd]. But even this changes, with
> a kernel derived from GRML, the PATA ones were sd[bc], and the SATA ones
> sd[ad]. Weird, huh? And things become even mor eunpredictable when I have
> USB drives plugged in during boot. So I also suggest using labels or
> UUIDs.
>
> My own method is yet another one. As I have everything on LVM (except for
> the /boot partitino, which is on an USB stick), my drives are identified
> by their volume group. /dev/weird is the system drive, /dev/weird2 is the
> identical backup drive. This way I do not have any /dev/sdX in either
> fstab or grub.conf. And when the system drive fails, I vgrename wird2 to
> weird, and then the backup drive will become the system drive.
>
> 	Wonko
>
>    

It would be nice if something like *fdisk could edit the labels tho.  It 
would be so much easier.  I didn't see anything in the man pages tho.

I looked into LVM a good while ago.  It's just to much for me to keep up 
with since I just have a desktop system here.  It has its good points 
but just way overkill for what I have here.

It seems as time goes on, things get more complicated.  lol

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  8:10   ` J. Roeleveld
  2010-08-27  8:23     ` Jesús J. Guerrero Botella
@ 2010-08-27 15:57     ` Bill Longman
  2010-08-27 16:02       ` J. Roeleveld
  1 sibling, 1 reply; 73+ messages in thread
From: Bill Longman @ 2010-08-27 15:57 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 15:57     ` Bill Longman
@ 2010-08-27 16:02       ` J. Roeleveld
  2010-08-27 16:06         ` Nikos Chantziaras
  0 siblings, 1 reply; 73+ messages in thread
From: J. Roeleveld @ 2010-08-27 16:02 UTC (permalink / raw
  To: gentoo-user

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


grub:
title Linux
  root (hd0,0)
  kernel (hd0,0)/vmlinuz ro root=LABEL=ROOT rhgb quiet
initrd (hd0,0)/initrd-2.x.x-xx.img

Not tested it myself yet, but I think this doesn't require special patches :)

--
Joost



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  8:50 ` Nikos Chantziaras
  2010-08-27  9:00   ` Jesús J. Guerrero Botella
  2010-08-27 10:15   ` Stefan G. Weichinger
@ 2010-08-27 16:03   ` Bill Longman
  2010-08-27 16:10     ` J. Roeleveld
  2 siblings, 1 reply; 73+ messages in thread
From: Bill Longman @ 2010-08-27 16:03 UTC (permalink / raw
  To: gentoo-user

On 08/27/2010 01:50 AM, Nikos Chantziaras wrote:
> On 08/27/2010 10:37 AM, Dale wrote:
>> I been putting this off but it looks like the newer kernels are going to
>> push me to changing this real soon. I have a older system, Abit NF7 2.0
>> motherboard with the older IDE drives. I'm still using the older IDE
>> drivers. This is what I have currently:
>>
>> hda Actual hard drive OS on this
>> hdb Actual hard drive Not in use
>> hdc Actual hard drive home partition
>> hdd DVD burner Duh! It's a burner.
>> sda Actual hard drive connected through a SATA PCI card. Misc stuff.
> 
> The advice by the other posters to label your disks is a good one.  I'm
> using labels too.  Not sure why I didn't think to mention it :P
> 
> Applying labels to your filesystems is trivial.  Simply use the e2label
> utility (it's in the sys-fs/e2fsprogs package and installed by default,
> so there's nothing new to emerge).  For example, if your hda1 is your
> root partition and your hda2 your swap, you can label them like this:
> 
>   e2label /dev/hda1 GentooRoot
>   e2label /dev/hda2 GentooSwap
> 
> Note: hda1, not just hda.  You are labeling the filesystem on a
> partition, not the whole drive.
> 
> After you label all your filesystems, you simply modify your /etc/fstab
> like this:
> 
> Before:
> /dev/hda1  /  ext4  noatime  0 1
> /dev/hda2  none  swap  sw  0 0
> 
> After:
> /dev/disk/by-label/GentooRoot  /  ext4  noatime  0 1
> /dev/disk/by-label/GentooSwap  none  swap  sw 0 0
> 
> That is, you simply change "/dev/blah" to
> "/dev/disk/by-label/DriveLabel" and that's it.

Yet another way to use labels:

When you make the filesystem, apply the name then i.e.:

  mke2fs -j -L SpeedySSD /dev/sde1

then in your /etc/fstab use the label like this:

  LABEL=SpeedySSD /usr/home  ext3  relatime  0 2





^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 16:02       ` J. Roeleveld
@ 2010-08-27 16:06         ` Nikos Chantziaras
  2010-08-27 16:16           ` Bill Longman
                             ` (3 more replies)
  0 siblings, 4 replies; 73+ messages in thread
From: Nikos Chantziaras @ 2010-08-27 16:06 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 16:03   ` Bill Longman
@ 2010-08-27 16:10     ` J. Roeleveld
  2010-08-27 16:22       ` Bill Longman
  0 siblings, 1 reply; 73+ messages in thread
From: J. Roeleveld @ 2010-08-27 16:10 UTC (permalink / raw
  To: gentoo-user

On Friday 27 August 2010 18:03:51 Bill Longman wrote:
> On 08/27/2010 01:50 AM, Nikos Chantziaras wrote:
> > On 08/27/2010 10:37 AM, Dale wrote:

<Snipped>

> Yet another way to use labels:
> 
> When you make the filesystem, apply the name then i.e.:
> 
>   mke2fs -j -L SpeedySSD /dev/sde1
> 
> then in your /etc/fstab use the label like this:
> 
>   LABEL=SpeedySSD /usr/home  ext3  relatime  0 2

I don't think Dale (The OT) would like to have to reformat his partitions just 
to get this to work :)

--
Joost



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 16:06         ` Nikos Chantziaras
@ 2010-08-27 16:16           ` Bill Longman
  2010-08-27 16:26           ` Bill Longman
                             ` (2 subsequent siblings)
  3 siblings, 0 replies; 73+ messages in thread
From: Bill Longman @ 2010-08-27 16:16 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 16:10     ` J. Roeleveld
@ 2010-08-27 16:22       ` Bill Longman
  2010-08-27 16:37         ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: Bill Longman @ 2010-08-27 16:22 UTC (permalink / raw
  To: gentoo-user

On 08/27/2010 09:10 AM, J. Roeleveld wrote:
> On Friday 27 August 2010 18:03:51 Bill Longman wrote:
>> On 08/27/2010 01:50 AM, Nikos Chantziaras wrote:
>>> On 08/27/2010 10:37 AM, Dale wrote:
> 
> <Snipped>
> 
>> Yet another way to use labels:
>>
>> When you make the filesystem, apply the name then i.e.:
>>
>>   mke2fs -j -L SpeedySSD /dev/sde1
>>
>> then in your /etc/fstab use the label like this:
>>
>>   LABEL=SpeedySSD /usr/home  ext3  relatime  0 2
> 
> I don't think Dale (The OT) would like to have to reformat his partitions just 
> to get this to work :)

:-)

I thought, too, (of course *after* I had pressed "SEND") that I should
have switched those two sentences around. I do not mean to imply that
you have to zap all your data to use labels. That would really drive
people away from Gentoo, wouldn't it? (I'll be right there, honey, I
just have to reformat my boot partition!)

Please read these as two completely separate and independent examples,
one for how to set them up in the first place and second, how to apply them.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  2010-08-28  2:04           ` Daniel Pielmeier
  3 siblings, 0 replies; 73+ messages in thread
From: Bill Longman @ 2010-08-27 16:26 UTC (permalink / raw
  To: gentoo-user

On 08/27/2010 09:06 AM, Nikos Chantziaras wrote:
> On 08/27/2010 07:02 PM, J. Roeleveld wrote:
>> Actually, you can:
>> http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.html

And this is similar to the syntax in the kernel's
Documentation/intel_txt.txt file.

>> (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.

Are you using ReiserFS, Nikos? It works wonders with ext.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 16:22       ` Bill Longman
@ 2010-08-27 16:37         ` Dale
  0 siblings, 0 replies; 73+ messages in thread
From: Dale @ 2010-08-27 16:37 UTC (permalink / raw
  To: gentoo-user

Bill Longman wrote:
> On 08/27/2010 09:10 AM, J. Roeleveld wrote:
>    
>> On Friday 27 August 2010 18:03:51 Bill Longman wrote:
>>      
>>> On 08/27/2010 01:50 AM, Nikos Chantziaras wrote:
>>>        
>>>> On 08/27/2010 10:37 AM, Dale wrote:
>>>>          
>> <Snipped>
>>
>>      
>>> Yet another way to use labels:
>>>
>>> When you make the filesystem, apply the name then i.e.:
>>>
>>>    mke2fs -j -L SpeedySSD /dev/sde1
>>>
>>> then in your /etc/fstab use the label like this:
>>>
>>>    LABEL=SpeedySSD /usr/home  ext3  relatime  0 2
>>>        
>> I don't think Dale (The OT) would like to have to reformat his partitions just
>> to get this to work :)
>>      
> :-)
>
> I thought, too, (of course *after* I had pressed "SEND") that I should
> have switched those two sentences around. I do not mean to imply that
> you have to zap all your data to use labels. That would really drive
> people away from Gentoo, wouldn't it? (I'll be right there, honey, I
> just have to reformat my boot partition!)
>
> Please read these as two completely separate and independent examples,
> one for how to set them up in the first place and second, how to apply them.
>
>    

I knew what you meant tho.  That was the best part of reading that.  
They should put this in the install guide.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 10:21           ` Dale
@ 2010-08-27 23:06             ` Mick
  2010-08-28  0:27               ` Stroller
  0 siblings, 1 reply; 73+ messages in thread
From: Mick @ 2010-08-27 23:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 3133 bytes --]

On Friday 27 August 2010 11:21:08 Dale wrote:
> J. Roeleveld wrote:
> > On Friday 27 August 2010 11:49:00 Dale wrote:
> >> J. Roeleveld wrote:
> >> 
> >> Hmmm, I use resierfs for my file systems, most of them anyway.  I still
> >> use e2fsprogs to change those?
> > 
> > Nope:
> > eve ~ # reiserfstune --help
> > reiserfstune: unrecognized option '--help'
> > reiserfstune: Usage: reiserfstune [options] device [block-count]
> > 
> > Options:
> >    -j | --journal-device file    current journal device
> >    --journal-new-device file     new journal device
> >    -o | --journal-new-offset N   new journal offset in blocks
> >    -s | --journal-new-size N     new journal size in blocks
> >    -t | --trans-max-size N       new journal max transaction size in
> >    blocks --no-journal-available        current journal is not available
> >    --make-journal-standard       new journal to be standard
> >    -b | --add-badblocks file     add to bad block list
> >    -B | --badblocks file         set the bad block list
> >    -u | --uuid UUID|random       set new UUID
> >    -l | --label LABEL            set new label
> >    -f | --force                  force tuning, less confirmations
> >    -V                            print version and exit
> > 
> > IOW (as example):
> > reiserfstune -l ROOTDISK /dev/hda1
> > 
> >> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
> >> drivers?  That way I can boot it and see exactly how it will name them
> >> and what drive is what without actually changing anything at all.  Is
> >> there a boot option "noide" or some other switch I can use?
> > 
> > Afraid not.
> > The naming scheme is, officially, not constant and can change with
> > reboots.
> > 
> > On my server, with hotswap, I get different device-names when I remove a
> > disk and plug it back in.
> > Eg. /dev/sdb ->  /dev/sdj
> > (as example)
> > Don't think you'll have that particular issue, but having these names
> > change between reboots is possible. Especially if a drive fails and is
> > not found during boot or a new drive is added.
> > 
> > Not tested, but I believe USB-drives might also get pushed into the mix?
> > 
> > --
> > Joost
> 
> I do know the USB stuff changes but I wasn't sure about the others.  I
> would think the main drives in a system would come first but one could
> never make that promise.  I'm giving serious thought to using the
> labels.  It would also mean that I don't have to remember what partition
> is what.  Currently I would mount and then list what is in the directory
> to see what is in it and figure out what it is.  With the labels
> feature, even fdisk would tell me what is what.
> 
> This would be a good time to move the OS to a new drive.  If things work
> out, run from the new drive.  If things blow up, boot the old drive with
> the old kernel, old fstab and other settings.

While on the topic of labels, is there a way to change the label of a reiser4 
partition, *after* it has been created?  I rebuilt two partitions and forgot 
to relabel them ...
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 23:06             ` Mick
@ 2010-08-28  0:27               ` Stroller
  2010-08-28  3:43                 ` Dale
  2010-08-28  8:31                 ` Mick
  0 siblings, 2 replies; 73+ messages in thread
From: Stroller @ 2010-08-28  0:27 UTC (permalink / raw
  To: gentoo-user


On 28 Aug 2010, at 00:06, Mick wrote:
> On Friday 27 August 2010 11:21:08 Dale wrote:
>> J. Roeleveld wrote:
>>> On Friday 27 August 2010 11:49:00 Dale wrote:
>>>> J. Roeleveld wrote:
>>>>
>>>> Hmmm, I use resierfs for my file systems, most of them anyway.  I  
>>>> still
>>>> use e2fsprogs to change those?
>>>
>>> Nope:
>>> eve ~ # reiserfstune --help
>>> reiserfstune: unrecognized option '--help'
>>> reiserfstune: Usage: reiserfstune [options] device [block-count]
>>>
>>> Options:
>>>   -j | --journal-device file    current journal device
>>>   --journal-new-device file     new journal device
>>>   -o | --journal-new-offset N   new journal offset in blocks
>>>   -s | --journal-new-size N     new journal size in blocks
>>>   -t | --trans-max-size N       new journal max transaction size in
>>>   blocks --no-journal-available        current journal is not  
>>> available
>>>   --make-journal-standard       new journal to be standard
>>>   -b | --add-badblocks file     add to bad block list
>>>   -B | --badblocks file         set the bad block list
>>>   -u | --uuid UUID|random       set new UUID
>>>   -l | --label LABEL            set new label
>>>   -f | --force                  force tuning, less confirmations
>>>   -V                            print version and exit
>>>
>>> IOW (as example):
>>> reiserfstune -l ROOTDISK /dev/hda1
>>>
> ...
> While on the topic of labels, is there a way to change the label of  
> a reiser4
> partition, *after* it has been created?  I rebuilt two partitions  
> and forgot
> to relabel them ...

Isn't the answer to that in the stuff you quoted?

Surely one can use reiserfstune without damaging the filesystem?




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  2010-08-28  2:04           ` Daniel Pielmeier
  3 siblings, 0 replies; 73+ messages in thread
From: Stroller @ 2010-08-28  0:33 UTC (permalink / raw
  To: gentoo-user


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.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 16:06         ` Nikos Chantziaras
                             ` (2 preceding siblings ...)
  2010-08-28  0:33           ` Stroller
@ 2010-08-28  2:04           ` Daniel Pielmeier
  2010-08-30 16:03             ` Paul Hartman
  3 siblings, 1 reply; 73+ messages in thread
From: Daniel Pielmeier @ 2010-08-28  2:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Nikos Chantziaras schrieb am 27.08.2010 18:06:
> On 08/27/2010 07:02 PM, J. Roeleveld wrote:
>>
>> 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.
> 

Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
(1.98) it is possible without. You don't need an initrd for LABEL/UUID
in /etc/fstab for both cases.

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28  0:27               ` Stroller
@ 2010-08-28  3:43                 ` Dale
  2010-08-28  8:31                 ` Mick
  1 sibling, 0 replies; 73+ messages in thread
From: Dale @ 2010-08-28  3:43 UTC (permalink / raw
  To: gentoo-user

Stroller wrote:
>
> On 28 Aug 2010, at 00:06, Mick wrote:
>> On Friday 27 August 2010 11:21:08 Dale wrote:
>>> J. Roeleveld wrote:
>>>> On Friday 27 August 2010 11:49:00 Dale wrote:
>>>>> J. Roeleveld wrote:
>>>>>
>>>>> Hmmm, I use resierfs for my file systems, most of them anyway.  I 
>>>>> still
>>>>> use e2fsprogs to change those?
>>>>
>>>> Nope:
>>>> eve ~ # reiserfstune --help
>>>> reiserfstune: unrecognized option '--help'
>>>> reiserfstune: Usage: reiserfstune [options] device [block-count]
>>>>
>>>> Options:
>>>>   -j | --journal-device file    current journal device
>>>>   --journal-new-device file     new journal device
>>>>   -o | --journal-new-offset N   new journal offset in blocks
>>>>   -s | --journal-new-size N     new journal size in blocks
>>>>   -t | --trans-max-size N       new journal max transaction size in
>>>>   blocks --no-journal-available        current journal is not 
>>>> available
>>>>   --make-journal-standard       new journal to be standard
>>>>   -b | --add-badblocks file     add to bad block list
>>>>   -B | --badblocks file         set the bad block list
>>>>   -u | --uuid UUID|random       set new UUID
>>>>   -l | --label LABEL            set new label
>>>>   -f | --force                  force tuning, less confirmations
>>>>   -V                            print version and exit
>>>>
>>>> IOW (as example):
>>>> reiserfstune -l ROOTDISK /dev/hda1
>>>>
>> ...
>> While on the topic of labels, is there a way to change the label of a 
>> reiser4
>> partition, *after* it has been created?  I rebuilt two partitions and 
>> forgot
>> to relabel them ...
>
> Isn't the answer to that in the stuff you quoted?
>
> Surely one can use reiserfstune without damaging the filesystem?
>
>

That could be asking a lot for me.  lol   I would think it could be 
changed the same way it was set tho.  reiserfstune -l LABEL

I got a lot of ideas here.  o_O

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28  0:27               ` Stroller
  2010-08-28  3:43                 ` Dale
@ 2010-08-28  8:31                 ` Mick
  2010-08-28  9:42                   ` Dale
  1 sibling, 1 reply; 73+ messages in thread
From: Mick @ 2010-08-28  8:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2021 bytes --]

On Saturday 28 August 2010 01:27:10 Stroller wrote:
> On 28 Aug 2010, at 00:06, Mick wrote:
> > On Friday 27 August 2010 11:21:08 Dale wrote:
> >> J. Roeleveld wrote:
> >>> On Friday 27 August 2010 11:49:00 Dale wrote:
> >>>> J. Roeleveld wrote:
> >>>> 
> >>>> Hmmm, I use resierfs for my file systems, most of them anyway.  I
> >>>> still
> >>>> use e2fsprogs to change those?
> >>> 
> >>> Nope:
> >>> eve ~ # reiserfstune --help
> >>> reiserfstune: unrecognized option '--help'
> >>> reiserfstune: Usage: reiserfstune [options] device [block-count]
> >>> 
> >>> Options:
> >>>   -j | --journal-device file    current journal device
> >>>   --journal-new-device file     new journal device
> >>>   -o | --journal-new-offset N   new journal offset in blocks
> >>>   -s | --journal-new-size N     new journal size in blocks
> >>>   -t | --trans-max-size N       new journal max transaction size in
> >>>   blocks --no-journal-available        current journal is not
> >>> 
> >>> available
> >>> 
> >>>   --make-journal-standard       new journal to be standard
> >>>   -b | --add-badblocks file     add to bad block list
> >>>   -B | --badblocks file         set the bad block list
> >>>   -u | --uuid UUID|random       set new UUID
> >>>   -l | --label LABEL            set new label
> >>>   -f | --force                  force tuning, less confirmations
> >>>   -V                            print version and exit
> >>> 
> >>> IOW (as example):
> >>> reiserfstune -l ROOTDISK /dev/hda1
> > 
> > ...
> > While on the topic of labels, is there a way to change the label of
> > a reiser4
> > partition, *after* it has been created?  I rebuilt two partitions
> > and forgot
> > to relabel them ...
> 
> Isn't the answer to that in the stuff you quoted?
> 
> Surely one can use reiserfstune without damaging the filesystem?

Yes, but I am not sure if reiserfstune will work with reiser4 - I have only 
used it with reiserfs and relabelling worked fine.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28  8:31                 ` Mick
@ 2010-08-28  9:42                   ` Dale
  2010-08-28 11:13                     ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-08-28  9:42 UTC (permalink / raw
  To: gentoo-user

Mick wrote:
> On Saturday 28 August 2010 01:27:10 Stroller wrote:
>    
>> On 28 Aug 2010, at 00:06, Mick wrote:
>>      
>>> On Friday 27 August 2010 11:21:08 Dale wrote:
>>>        
>>>> J. Roeleveld wrote:
>>>>          
>>>>> On Friday 27 August 2010 11:49:00 Dale wrote:
>>>>>            
>>>>>> J. Roeleveld wrote:
>>>>>>
>>>>>> Hmmm, I use resierfs for my file systems, most of them anyway.  I
>>>>>> still
>>>>>> use e2fsprogs to change those?
>>>>>>              
>>>>> Nope:
>>>>> eve ~ # reiserfstune --help
>>>>> reiserfstune: unrecognized option '--help'
>>>>> reiserfstune: Usage: reiserfstune [options] device [block-count]
>>>>>
>>>>> Options:
>>>>>    -j | --journal-device file    current journal device
>>>>>    --journal-new-device file     new journal device
>>>>>    -o | --journal-new-offset N   new journal offset in blocks
>>>>>    -s | --journal-new-size N     new journal size in blocks
>>>>>    -t | --trans-max-size N       new journal max transaction size in
>>>>>    blocks --no-journal-available        current journal is not
>>>>>
>>>>> available
>>>>>
>>>>>    --make-journal-standard       new journal to be standard
>>>>>    -b | --add-badblocks file     add to bad block list
>>>>>    -B | --badblocks file         set the bad block list
>>>>>    -u | --uuid UUID|random       set new UUID
>>>>>    -l | --label LABEL            set new label
>>>>>    -f | --force                  force tuning, less confirmations
>>>>>    -V                            print version and exit
>>>>>
>>>>> IOW (as example):
>>>>> reiserfstune -l ROOTDISK /dev/hda1
>>>>>            
>>> ...
>>> While on the topic of labels, is there a way to change the label of
>>> a reiser4
>>> partition, *after* it has been created?  I rebuilt two partitions
>>> and forgot
>>> to relabel them ...
>>>        
>> Isn't the answer to that in the stuff you quoted?
>>
>> Surely one can use reiserfstune without damaging the filesystem?
>>      
> Yes, but I am not sure if reiserfstune will work with reiser4 - I have only
> used it with reiserfs and relabelling worked fine.
>    

Slight hiccup here:

root@smoker / # reiserfstune -l root /dev/hda6
reiserfstune: Reiserfstune is not allowed to be run on mounted filesystem.
root@smoker / #

So, I have to do this from a CD/DVD.  Well, once done, it is done.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  0 siblings, 2 replies; 73+ messages in thread
From: Dale @ 2010-08-28 11:13 UTC (permalink / raw
  To: gentoo-user

Dale wrote:
>
> Slight hiccup here:
>
> root@smoker / # reiserfstune -l root /dev/hda6
> reiserfstune: Reiserfstune is not allowed to be run on mounted 
> filesystem.
> root@smoker / #
>
> So, I have to do this from a CD/DVD.  Well, once done, it is done.
>
> Dale
>
> :-)  :-)
>

Another hiccup for the record.  When you add/change a label, you have to 
reboot for it to take effect.  At least that was what I did anyway.  The 
labels didn't show up until I rebooted.  Sort of funny in a way.  I have 
changed partition layouts before and them take effect without a reboot.  
Maybe I should have restarted udev?

Also, I first booted a Gentoo 10.1 DVD and all the drives showed up as 
sd**.  I didn't see a hd* in the list anywhere.  So, if you are not SURE 
what each drive will be, boot something that doesn't use the PATA 
drivers.  For me, I booted a old Gentoo 2006.1 CD.  That listed both 
hd** and my sda drive.  I didn't try my Knoppix disc tho.  I'm not sure 
what drivers it uses.

Now to figure out how far off the deep end I want to go with editing 
fstab.  Going to read some replies here and a man page or two.  ;-)  The 
way I figure it, once I edit fstab and get it to boot correctly, it 
shouldn't matter whether the drives use IDE or PATA drivers.  Then I can 
work on the kernel next.

Dale

:-)  :-)

P. S.  Any way to label swap?  It's not reiserfs or ext*.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28 11:13                     ` Dale
@ 2010-08-28 11:17                       ` Alex Schuster
  2010-08-28 12:08                       ` Daniel Pielmeier
  1 sibling, 0 replies; 73+ messages in thread
From: Alex Schuster @ 2010-08-28 11:17 UTC (permalink / raw
  To: gentoo-user

Dale writes:

> P. S.  Any way to label swap?  It's not reiserfs or ext*.

mkswap hast the option -L for this.

	Wonko



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  1 sibling, 1 reply; 73+ messages in thread
From: Daniel Pielmeier @ 2010-08-28 12:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

Dale schrieb am 28.08.2010 13:13:
> 
> P. S.  Any way to label swap?  It's not reiserfs or ext*.
> 

It is swap :)

swappoff -a
mkswap -L label device
swapon -a

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27  9:44       ` Dale
@ 2010-08-28 13:34         ` Nuno J. Silva
  0 siblings, 0 replies; 73+ messages in thread
From: Nuno J. Silva @ 2010-08-28 13:34 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967@gmail.com> writes:

> Jesús J. Guerrero Botella wrote:
>> 2010/8/27 J. Roeleveld<joost@antarean.org>:
>>    
>>> On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote:
>>>      
>>>> On 08/27/2010 10:37 AM, Dale wrote:
>>>>        
>>>>> My theory is something like this: hda will become sda; hdb will become
>>>>> sdb; hdc will become sdc; hdd will become sdd; and sda will become sde.
>>>>> Would that be a logical expectation?
>>>>>          
>>>> I'd say sda will stay as is, hda will become sdb, and so forth.
>>>>        
>> This entirely depends on the way your BIOS orders your drivers, as far
>> as I know. It could be either way. But, we all know how flexible grub
>> is. You can just use TAB to autocomplete and try. All you need to boot
>> is your root fs, after that fdisk -l will reveal all the info you
>> need. fstab is another story, that might cost you an extra reboot into
>> a livecd to fix it.
>
> Another thing that I hadn't thought of, grub.  I didn't even think
> about grub would have to be edited.  That would have been interesting
> when I tried to boot up.

You just need to feed linux with the right parameters, so it finds the
root filesystem. Grub id's themselves should remain the same, I suppose.

Also, as GRUB allows you to edit commandlines, you can do this by trial
and error (but a good initial guess is still worth it).


-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28 12:08                       ` Daniel Pielmeier
@ 2010-08-28 13:36                         ` Dale
  2010-08-28 13:45                           ` Nikos Chantziaras
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-08-28 13:36 UTC (permalink / raw
  To: gentoo-user

Daniel Pielmeier wrote:
> Dale schrieb am 28.08.2010 13:13:
>    
>> P. S.  Any way to label swap?  It's not reiserfs or ext*.
>>
>>      
> It is swap :)
>
> swappoff -a
> mkswap -L label device
> swapon -a
>
>    

I found that later while reading some other man page.  I got to look 
into that swapon -a option tho.  Never seen that before.  I think I know 
what it is tho.

So far, I have set the labels, edited fstab and successfully rebooted.  
Now to work on the kernel.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28 13:36                         ` Dale
@ 2010-08-28 13:45                           ` Nikos Chantziaras
  2010-08-28 19:45                             ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: Nikos Chantziaras @ 2010-08-28 13:45 UTC (permalink / raw
  To: gentoo-user

On 08/28/2010 04:36 PM, Dale wrote:
> Daniel Pielmeier wrote:
>> Dale schrieb am 28.08.2010 13:13:
>>> P. S. Any way to label swap? It's not reiserfs or ext*.
>>>
>> It is swap :)
>>
>> swappoff -a
>> mkswap -L label device
>> swapon -a
>>
>
> I found that later while reading some other man page. I got to look into
> that swapon -a option tho. Never seen that before. I think I know what
> it is tho.

It enabled the swap.  The boot init scripts automatically do a swapon -a 
when you boot.  But since you need to do a swappoff -a first and disable 
the swap in order to recreate it, you need to enable it again manually 
with swapon -a if you don't reboot.




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-27 12:32           ` Dale
@ 2010-08-28 18:25             ` Alex Schuster
  2010-08-28 19:42               ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: Alex Schuster @ 2010-08-28 18:25 UTC (permalink / raw
  To: gentoo-user

Dale writes:

> It would be nice if something like *fdisk could edit the labels tho. 
> It would be so much easier.  I didn't see anything in the man pages
> tho.

I'd like this, too. cfdisk displays them, but is not abel to edit.

> I looked into LVM a good while ago.  It's just to much for me to keep
> up with since I just have a desktop system here.  It has its good
> points but just way overkill for what I have here.

It's not that complicated. In a nutshell:

Choose the partitions you want to use for LVM, and prepare them to be 
physical volumes:
pvcreate /dev/sda[678]

Create a volume group out of these partitions:
vgcreate myvg /dev/sda[678]

Create logical volumes in this volume group:
lvcreate -L 5G -n lvm1 myvg
lvcreate -L 2G -n lvm2 myvg

Use these logical volumes just as disk partitions:

mke2fs -j -L fs_on_lvm /dev/myvg/lvm1
mount /dev/myg/lvm1 /mnt/fs_on_lvm

The file system is too small? Just extend its size by 1G, without 
unmouning:

lvresize -L +1G /dev/myvg/lvm1

The volume groups is getting full, no space to add LVMs? Add other 
partitions. If you like, even from a 2nd drive:

pvcreate /dev/sdb5
vgextend myvg /dev/sdb5

So, it's of course more complicated than just firing up cfdisk, create 
partitions and file systems on them, but you have much more flexibility. 
Once you have LVM, you do not have to care what the actual device names of 
your drives are. If sda becomes sdb and vice versa, no problem, and 
nothing to worry about. LVM does not use the device name, it scans each 
partition and uses the LVM UUIDs on them to identify what is what.

	Wonko



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28 18:25             ` Alex Schuster
@ 2010-08-28 19:42               ` Dale
  2010-08-29  1:24                 ` Nikos Chantziaras
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-08-28 19:42 UTC (permalink / raw
  To: gentoo-user

Alex Schuster wrote:
> Dale writes:
>
>    
>> It would be nice if something like *fdisk could edit the labels tho.
>> It would be so much easier.  I didn't see anything in the man pages
>> tho.
>>      
> I'd like this, too. cfdisk displays them, but is not abel to edit.
>
>    
>> I looked into LVM a good while ago.  It's just to much for me to keep
>> up with since I just have a desktop system here.  It has its good
>> points but just way overkill for what I have here.
>>      
> It's not that complicated. In a nutshell:
>
> Choose the partitions you want to use for LVM, and prepare them to be
> physical volumes:
> pvcreate /dev/sda[678]
>
> Create a volume group out of these partitions:
> vgcreate myvg /dev/sda[678]
>
> Create logical volumes in this volume group:
> lvcreate -L 5G -n lvm1 myvg
> lvcreate -L 2G -n lvm2 myvg
>
> Use these logical volumes just as disk partitions:
>
> mke2fs -j -L fs_on_lvm /dev/myvg/lvm1
> mount /dev/myg/lvm1 /mnt/fs_on_lvm
>
> The file system is too small? Just extend its size by 1G, without
> unmouning:
>
> lvresize -L +1G /dev/myvg/lvm1
>
> The volume groups is getting full, no space to add LVMs? Add other
> partitions. If you like, even from a 2nd drive:
>
> pvcreate /dev/sdb5
> vgextend myvg /dev/sdb5
>
> So, it's of course more complicated than just firing up cfdisk, create
> partitions and file systems on them, but you have much more flexibility.
> Once you have LVM, you do not have to care what the actual device names of
> your drives are. If sda becomes sdb and vice versa, no problem, and
> nothing to worry about. LVM does not use the device name, it scans each
> partition and uses the LVM UUIDs on them to identify what is what.
>
> 	Wonko
>
>    

Since I finally got this thing settled with partition sizes, that's 
pretty complicated.  I have root, /boot, /home, portage and a data 
partition for misc. junk.  I doubt it will change any in the near future.

I did read up on it one time a while back.  It's neat when you have to 
add drives and resize things but still a bit much for a little desktop.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28 13:45                           ` Nikos Chantziaras
@ 2010-08-28 19:45                             ` Dale
  0 siblings, 0 replies; 73+ messages in thread
From: Dale @ 2010-08-28 19:45 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 08/28/2010 04:36 PM, Dale wrote:
>> Daniel Pielmeier wrote:
>>> Dale schrieb am 28.08.2010 13:13:
>>>> P. S. Any way to label swap? It's not reiserfs or ext*.
>>>>
>>> It is swap :)
>>>
>>> swappoff -a
>>> mkswap -L label device
>>> swapon -a
>>>
>>
>> I found that later while reading some other man page. I got to look into
>> that swapon -a option tho. Never seen that before. I think I know what
>> it is tho.
>
> It enabled the swap.  The boot init scripts automatically do a swapon 
> -a when you boot.  But since you need to do a swappoff -a first and 
> disable the swap in order to recreate it, you need to enable it again 
> manually with swapon -a if you don't reboot.
>

It's been a while since I read the man page for swapon/off.  I don't 
remember seeing it before but that does save me from typing in a longer 
command.  I sometimes want to clear out swap, after compiling OOo or 
something, and that is a bit easier to do.

Neat tip.  Thanks.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28 19:42               ` Dale
@ 2010-08-29  1:24                 ` Nikos Chantziaras
  2010-08-29  6:04                   ` J. Roeleveld
  0 siblings, 1 reply; 73+ messages in thread
From: Nikos Chantziaras @ 2010-08-29  1:24 UTC (permalink / raw
  To: gentoo-user

On 08/28/2010 10:42 PM, Dale wrote:
> Alex Schuster wrote:
>> Dale writes:
>>
>>> It would be nice if something like *fdisk could edit the labels tho.
>>> It would be so much easier. I didn't see anything in the man pages
>>> tho.
>> I'd like this, too. cfdisk displays them, but is not abel to edit.
>>
>>> I looked into LVM a good while ago. It's just to much for me to keep
>>> up with since I just have a desktop system here. It has its good
>>> points but just way overkill for what I have here.
>> It's not that complicated. In a nutshell:
>>
>> Choose the partitions you want to use for LVM, and prepare them to be
>> physical volumes:
>> pvcreate /dev/sda[678]
>>
>> Create a volume group out of these partitions:
>> vgcreate myvg /dev/sda[678]
>>
>> Create logical volumes in this volume group:
>> lvcreate -L 5G -n lvm1 myvg
>> lvcreate -L 2G -n lvm2 myvg
>>
>> Use these logical volumes just as disk partitions:
>>
>> mke2fs -j -L fs_on_lvm /dev/myvg/lvm1
>> mount /dev/myg/lvm1 /mnt/fs_on_lvm
>>
>> The file system is too small? Just extend its size by 1G, without
>> unmouning:
>>
>> lvresize -L +1G /dev/myvg/lvm1
>>
>> The volume groups is getting full, no space to add LVMs? Add other
>> partitions. If you like, even from a 2nd drive:
>>
>> pvcreate /dev/sdb5
>> vgextend myvg /dev/sdb5
>>
>> So, it's of course more complicated than just firing up cfdisk, create
>> partitions and file systems on them, but you have much more flexibility.
>> Once you have LVM, you do not have to care what the actual device
>> names of
>> your drives are. If sda becomes sdb and vice versa, no problem, and
>> nothing to worry about. LVM does not use the device name, it scans each
>> partition and uses the LVM UUIDs on them to identify what is what.
>>
>> Wonko
>>
>
> Since I finally got this thing settled with partition sizes, that's
> pretty complicated. I have root, /boot, /home, portage and a data
> partition for misc. junk. I doubt it will change any in the near future.
>
> I did read up on it one time a while back. It's neat when you have to
> add drives and resize things but still a bit much for a little desktop.

I'd stay away from LVM.  I started using it on a Debian Lenny machine 
and performance went down the drain.  For example, deleting a 3GB file 
was almost instant and now it takes like 15 seconds.  It's almost as if 
with LVM, deleting a file means writing 0 all over the 3GB first :-/




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-29  1:24                 ` Nikos Chantziaras
@ 2010-08-29  6:04                   ` J. Roeleveld
  0 siblings, 0 replies; 73+ messages in thread
From: J. Roeleveld @ 2010-08-29  6:04 UTC (permalink / raw
  To: gentoo-user

On Sunday 29 August 2010 03:24:42 Nikos Chantziaras wrote:
> On 08/28/2010 10:42 PM, Dale wrote:
> > Alex Schuster wrote:
> >> Dale writes:
> >>> It would be nice if something like *fdisk could edit the labels tho.
> >>> It would be so much easier. I didn't see anything in the man pages
> >>> tho.
> >> 
> >> I'd like this, too. cfdisk displays them, but is not abel to edit.
> >> 
> >>> I looked into LVM a good while ago. It's just to much for me to keep
> >>> up with since I just have a desktop system here. It has its good
> >>> points but just way overkill for what I have here.
> >> 
> >> It's not that complicated. In a nutshell:
> >> 
> >> Choose the partitions you want to use for LVM, and prepare them to be
> >> physical volumes:
> >> pvcreate /dev/sda[678]
> >> 
> >> Create a volume group out of these partitions:
> >> vgcreate myvg /dev/sda[678]
> >> 
> >> Create logical volumes in this volume group:
> >> lvcreate -L 5G -n lvm1 myvg
> >> lvcreate -L 2G -n lvm2 myvg
> >> 
> >> Use these logical volumes just as disk partitions:
> >> 
> >> mke2fs -j -L fs_on_lvm /dev/myvg/lvm1
> >> mount /dev/myg/lvm1 /mnt/fs_on_lvm
> >> 
> >> The file system is too small? Just extend its size by 1G, without
> >> unmouning:
> >> 
> >> lvresize -L +1G /dev/myvg/lvm1
> >> 
> >> The volume groups is getting full, no space to add LVMs? Add other
> >> partitions. If you like, even from a 2nd drive:
> >> 
> >> pvcreate /dev/sdb5
> >> vgextend myvg /dev/sdb5
> >> 
> >> So, it's of course more complicated than just firing up cfdisk, create
> >> partitions and file systems on them, but you have much more flexibility.
> >> Once you have LVM, you do not have to care what the actual device
> >> names of
> >> your drives are. If sda becomes sdb and vice versa, no problem, and
> >> nothing to worry about. LVM does not use the device name, it scans each
> >> partition and uses the LVM UUIDs on them to identify what is what.
> >> 
> >> Wonko
> > 
> > Since I finally got this thing settled with partition sizes, that's
> > pretty complicated. I have root, /boot, /home, portage and a data
> > partition for misc. junk. I doubt it will change any in the near future.
> > 
> > I did read up on it one time a while back. It's neat when you have to
> > add drives and resize things but still a bit much for a little desktop.
> 
> I'd stay away from LVM.  I started using it on a Debian Lenny machine
> and performance went down the drain.  For example, deleting a 3GB file
> was almost instant and now it takes like 15 seconds.  It's almost as if
> with LVM, deleting a file means writing 0 all over the 3GB first :-/

That sounds like a different issue.
I haven't noticed any major performance issues myself.

But to test quickly:
LVM:
# ~/speedtest $ time dd if=/dev/zero of=3gigfile bs=1024 count=3000000
3000000+0 records in                                                                                                                                                                                                                         
3000000+0 records out                                                                                                                                                                                                                        
3072000000 bytes (3.1 GB) copied, 33.3029 s, 92.2 MB/s                                                                                                                                                                                       
                                                                                                                                                                                                                                             
real    0m33.305s                                                                                                                                                                                                                            
user    0m0.440s                                                                                                                                                                                                                             
sys     0m16.370s                                                                                                                                                                                                                            
# ~/speedtest $ time rm 3gigfile                                                                                                                                                                                                     
                                                                                                                                                                                                                                             
real    0m3.827s                                                                                                                                                                                                                             
user    0m0.000s                                                                                                                                                                                                                             
sys     0m1.131s                                                                                                                                                                                                                             

# hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   4758 MB in  2.00 seconds = 2379.87 MB/sec
 Timing buffered disk reads:  274 MB in  3.02 seconds =  90.84 MB/sec
**************
Non-LVM:
# /data/speedtest $ time dd if=/dev/zero of=3gigfile bs=1024 count=3000000                                                                                                                                              
3000000+0 records in                                                                                                                                                                                                                         
3000000+0 records out
3072000000 bytes (3.1 GB) copied, 38.2821 s, 80.2 MB/s

real    0m38.284s
user    0m0.397s
sys     0m9.490s
# /data/speedtest $ time rm 3gigfile

real    0m0.721s
user    0m0.000s
sys     0m0.720s

# hdparm -Tt /dev/sdb

/dev/sdb:
 Timing cached reads:   3396 MB in  2.00 seconds = 1698.30 MB/sec
 Timing buffered disk reads:  252 MB in  3.00 seconds =  83.94 MB/sec


Both filesystems are ext3

Based on this, it takes about 3 seconds more. That is something I can easily 
live with.
But instantaneous to 15 seconds, I think there might be some other factors 
there?

--
Joost



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-28  2:04           ` Daniel Pielmeier
@ 2010-08-30 16:03             ` Paul Hartman
  2010-08-30 16:32               ` Alan McKinnon
  0 siblings, 1 reply; 73+ messages in thread
From: Paul Hartman @ 2010-08-30 16:03 UTC (permalink / raw
  To: gentoo-user

On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier <billie@gentoo.org> wrote:
> Nikos Chantziaras schrieb am 27.08.2010 18:06:
>> On 08/27/2010 07:02 PM, J. Roeleveld wrote:
>>>
>>> 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.
>>
>
> Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
> your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
> (1.98) it is possible without. You don't need an initrd for LABEL/UUID
> in /etc/fstab for both cases.

FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
no initrd. My kernel has EFI_PARTITION compiled in (no module).

My fstab looks like this:

LABEL=swap       none            swap            sw              0 0
LABEL=boot      /boot    ext2    defaults,noatime                1 2
LABEL=root       /       ext4    defaults,noatime                0 1
LABEL=home      /home   ext4    defaults,noatime        0 1

My kernel boot commandline still specified root by device name
/dev/sda2 but otherwise my system works normally so far. :)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-30 16:03             ` Paul Hartman
@ 2010-08-30 16:32               ` Alan McKinnon
  2010-08-30 17:54                 ` Dale
  2010-08-30 18:19                 ` Daniel Pielmeier
  0 siblings, 2 replies; 73+ messages in thread
From: Alan McKinnon @ 2010-08-30 16:32 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Hartman 
did opine thusly:

> On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier <billie@gentoo.org> wrote:
> > Nikos Chantziaras schrieb am 27.08.2010 18:06:
> >> On 08/27/2010 07:02 PM, J. Roeleveld wrote:
> >>> Actually, you can:
> >>> http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm
> >>> l
> >>> 
> >>> (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.
> > 
> > Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
> > your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
> > (1.98) it is possible without. You don't need an initrd for LABEL/UUID
> > in /etc/fstab for both cases.
> 
> FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
> no initrd. My kernel has EFI_PARTITION compiled in (no module).
> 
> My fstab looks like this:
> 
> LABEL=swap       none            swap            sw              0 0
> LABEL=boot      /boot    ext2    defaults,noatime                1 2
> LABEL=root       /       ext4    defaults,noatime                0 1
> LABEL=home      /home   ext4    defaults,noatime        0 1
> 
> My kernel boot commandline still specified root by device name
> /dev/sda2 but otherwise my system works normally so far. :)

Don't listen to nay-sayers. Your fstab will work just fine and there's nothing 
wrong with it.

The LABEL= sysntax has also worked for years and years now on all grub-
supported filesystems that support volume labels. I don't know where a 
previous poster got the idea from that it is not supported, or you need an 
initrd - I have never used an initrd on Gentoo and have used that syntax since 
forever.

Similar for claims of unreliability by someone else. The only cause I can 
think of is using weird grub patches or some combination of insane flags.


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-30 16:32               ` Alan McKinnon
@ 2010-08-30 17:54                 ` Dale
  2010-08-30 19:15                   ` Bill Longman
  2010-08-30 18:19                 ` Daniel Pielmeier
  1 sibling, 1 reply; 73+ messages in thread
From: Dale @ 2010-08-30 17:54 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Hartman
> did opine thusly:
>
>    
>> On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier<billie@gentoo.org>  wrote:
>>      
>>> Nikos Chantziaras schrieb am 27.08.2010 18:06:
>>>        
>>>> On 08/27/2010 07:02 PM, J. Roeleveld wrote:
>>>>          
>>>>> Actually, you can:
>>>>> http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm
>>>>> l
>>>>>
>>>>> (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.
>>>>          
>>> Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
>>> your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
>>> (1.98) it is possible without. You don't need an initrd for LABEL/UUID
>>> in /etc/fstab for both cases.
>>>        
>> FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
>> no initrd. My kernel has EFI_PARTITION compiled in (no module).
>>
>> My fstab looks like this:
>>
>> LABEL=swap       none            swap            sw              0 0
>> LABEL=boot      /boot    ext2    defaults,noatime                1 2
>> LABEL=root       /       ext4    defaults,noatime                0 1
>> LABEL=home      /home   ext4    defaults,noatime        0 1
>>
>> My kernel boot commandline still specified root by device name
>> /dev/sda2 but otherwise my system works normally so far. :)
>>      
> Don't listen to nay-sayers. Your fstab will work just fine and there's nothing
> wrong with it.
>
> The LABEL= sysntax has also worked for years and years now on all grub-
> supported filesystems that support volume labels. I don't know where a
> previous poster got the idea from that it is not supported, or you need an
> initrd - I have never used an initrd on Gentoo and have used that syntax since
> forever.
>
> Similar for claims of unreliability by someone else. The only cause I can
> think of is using weird grub patches or some combination of insane flags.
>
>    

So I don't have to have the complete path in fstab like this:

/dev/disk/by-label/boot        /boot        ext2        noatime        1 2
/dev/disk/by-label/root        /        reiserfs    defaults    0 1
/dev/disk/by-label/swap        none        swap        sw        0 0
/dev/disk/by-label/portage    /usr/portage    ext3        defaults    0 1
/dev/disk/by-label/home        /home        reiserfs    defaults    1 1

Can you post a grub.conf file that uses labels?  Sort of a example to 
look at and go by.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-30 16:32               ` Alan McKinnon
  2010-08-30 17:54                 ` Dale
@ 2010-08-30 18:19                 ` Daniel Pielmeier
  1 sibling, 0 replies; 73+ messages in thread
From: Daniel Pielmeier @ 2010-08-30 18:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2884 bytes --]

Alan McKinnon schrieb am 30.08.2010 18:32:
> Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Hartman 
> did opine thusly:
> 
>> On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier <billie@gentoo.org> wrote:
>>> Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
>>> your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
>>> (1.98) it is possible without. You don't need an initrd for LABEL/UUID
>>> in /etc/fstab for both cases.
>>
>> FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
>> no initrd. My kernel has EFI_PARTITION compiled in (no module).
>>
>> My fstab looks like this:
>>
>> LABEL=swap       none            swap            sw              0 0
>> LABEL=boot      /boot    ext2    defaults,noatime                1 2
>> LABEL=root       /       ext4    defaults,noatime                0 1
>> LABEL=home      /home   ext4    defaults,noatime        0 1
>>
>> My kernel boot commandline still specified root by device name
>> /dev/sda2 but otherwise my system works normally so far. :)
> 
> Don't listen to nay-sayers. Your fstab will work just fine and there's nothing 
> wrong with it.
> 
> The LABEL= sysntax has also worked for years and years now on all grub-
> supported filesystems that support volume labels. I don't know where a 
> previous poster got the idea from that it is not supported, or you need an 
> initrd - I have never used an initrd on Gentoo and have used that syntax since 
> forever.
> 
> Similar for claims of unreliability by someone else. The only cause I can 
> think of is using weird grub patches or some combination of insane flags.

If you are referring to my post please read again my statements. I am
not a native speaker so I probably did not make this clear.

I did not say that LABEL/UUID does not work within /etc/fstab.
Specifying the root device by using the LABEL/UUID syntax in
grub.conf/menu.lst however wont work without a proper initrd.

I must confess I did not test it before but I was sure it does not work.
I did some tests now (with sys-boot/grub-0.97-r10) and only the
following syntax for the grub.conf kernel command-lines works.

kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=/dev/sda3

All the others below need an initrd if you use GRUB LEGACY. Also the
GRUB LEGACY manual [1] does not mention LABEL or UUID at all. With GRUB
2 it will probably work by using the --search menu entry [1].

kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=LABEL=root
kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=/dev/disk/by-label/root
kernel /boot/kernel/kernel-2.6.35-gentoo-r4
root=/dev/disk/by-uuid/ab24cad5-ae0b-45d7-82f4-68357d5b6ff4

[1] http://www.gnu.org/software/grub/manual/legacy/grub.html
[2] http://www.gnu.org/software/grub/manual/grub.html#search

-- 
Daniel Pielmeier


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-30 17:54                 ` Dale
@ 2010-08-30 19:15                   ` Bill Longman
  2010-08-30 22:31                     ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: Bill Longman @ 2010-08-30 19:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3260 bytes --]

On Mon, Aug 30, 2010 at 10:54 AM, Dale <rdalek1967@gmail.com> wrote:

> Alan McKinnon wrote:
>
>> Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul
>> Hartman
>> did opine thusly:
>>
>>
>>
>>> On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier<billie@gentoo.org>
>>>  wrote:
>>>
>>>
>>>> Nikos Chantziaras schrieb am 27.08.2010 18:06:
>>>>
>>>>
>>>>> On 08/27/2010 07:02 PM, J. Roeleveld wrote:
>>>>>
>>>>>
>>>>>> Actually, you can:
>>>>>>
>>>>>> http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm
>>>>>> l
>>>>>>
>>>>>> (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.
>>>>>
>>>>>
>>>> Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
>>>> your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
>>>> (1.98) it is possible without. You don't need an initrd for LABEL/UUID
>>>> in /etc/fstab for both cases.
>>>>
>>>>
>>> FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
>>> no initrd. My kernel has EFI_PARTITION compiled in (no module).
>>>
>>> My fstab looks like this:
>>>
>>> LABEL=swap       none            swap            sw              0 0
>>> LABEL=boot      /boot    ext2    defaults,noatime                1 2
>>> LABEL=root       /       ext4    defaults,noatime                0 1
>>> LABEL=home      /home   ext4    defaults,noatime        0 1
>>>
>>> My kernel boot commandline still specified root by device name
>>> /dev/sda2 but otherwise my system works normally so far. :)
>>>
>>>
>> Don't listen to nay-sayers. Your fstab will work just fine and there's
>> nothing
>> wrong with it.
>>
>> The LABEL= sysntax has also worked for years and years now on all grub-
>> supported filesystems that support volume labels. I don't know where a
>> previous poster got the idea from that it is not supported, or you need an
>> initrd - I have never used an initrd on Gentoo and have used that syntax
>> since
>> forever.
>>
>> Similar for claims of unreliability by someone else. The only cause I can
>> think of is using weird grub patches or some combination of insane flags.
>>
>>
>>
>
> So I don't have to have the complete path in fstab like this:
>
> /dev/disk/by-label/boot        /boot        ext2        noatime        1 2
> /dev/disk/by-label/root        /        reiserfs    defaults    0 1
> /dev/disk/by-label/swap        none        swap        sw        0 0
> /dev/disk/by-label/portage    /usr/portage    ext3        defaults    0 1
> /dev/disk/by-label/home        /home        reiserfs    defaults    1 1
>
> Can you post a grub.conf file that uses labels?  Sort of a example to look
> at and go by.
>

Dale, there are two examples of fstabs in this message (actually three). But
you only want to see those you didn't write. You just need to put
"LABEL=somelabel" in the first column.

-- 
Bill Longman

[-- Attachment #2: Type: text/html, Size: 4632 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-08-30 19:15                   ` Bill Longman
@ 2010-08-30 22:31                     ` Dale
  0 siblings, 0 replies; 73+ messages in thread
From: Dale @ 2010-08-30 22:31 UTC (permalink / raw
  To: gentoo-user

Bill Longman wrote:
>
>
> On Mon, Aug 30, 2010 at 10:54 AM, Dale <rdalek1967@gmail.com 
> <mailto:rdalek1967@gmail.com>> wrote:
>
>     Alan McKinnon wrote:
>
>         Apparently, though unproven, at 18:03 on Monday 30 August
>         2010, Paul Hartman
>         did opine thusly:
>
>
>             On Fri, Aug 27, 2010 at 9:04 PM, Daniel
>             Pielmeier<billie@gentoo.org <mailto:billie@gentoo.org>>
>              wrote:
>
>                 Nikos Chantziaras schrieb am 27.08.2010 18:06:
>
>                     On 08/27/2010 07:02 PM, J. Roeleveld wrote:
>
>                         Actually, you can:
>                         http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.htm
>                         l
>
>                         (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.
>
>                 Afaik if you are using GRUB LEGACY (0.97) and want to
>                 use LABEL/UUID in
>                 your grub.conf/menu.lst you also need an initrd. I
>                 think with GRUB 2
>                 (1.98) it is possible without. You don't need an
>                 initrd for LABEL/UUID
>                 in /etc/fstab for both cases.
>
>             FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled
>             partitions and
>             no initrd. My kernel has EFI_PARTITION compiled in (no
>             module).
>
>             My fstab looks like this:
>
>             LABEL=swap       none            swap            sw      
>                    0 0
>             LABEL=boot      /boot    ext2    defaults,noatime        
>                    1 2
>             LABEL=root       /       ext4    defaults,noatime        
>                    0 1
>             LABEL=home      /home   ext4    defaults,noatime        0 1
>
>             My kernel boot commandline still specified root by device name
>             /dev/sda2 but otherwise my system works normally so far. :)
>
>         Don't listen to nay-sayers. Your fstab will work just fine and
>         there's nothing
>         wrong with it.
>
>         The LABEL= sysntax has also worked for years and years now on
>         all grub-
>         supported filesystems that support volume labels. I don't know
>         where a
>         previous poster got the idea from that it is not supported, or
>         you need an
>         initrd - I have never used an initrd on Gentoo and have used
>         that syntax since
>         forever.
>
>         Similar for claims of unreliability by someone else. The only
>         cause I can
>         think of is using weird grub patches or some combination of
>         insane flags.
>
>
>
>     So I don't have to have the complete path in fstab like this:
>
>     /dev/disk/by-label/boot        /boot        ext2        noatime  
>          1 2
>     /dev/disk/by-label/root        /        reiserfs    defaults    0 1
>     /dev/disk/by-label/swap        none        swap        sw        0 0
>     /dev/disk/by-label/portage    /usr/portage    ext3        defaults
>        0 1
>     /dev/disk/by-label/home        /home        reiserfs    defaults  
>      1 1
>
>     Can you post a grub.conf file that uses labels?  Sort of a example
>     to look at and go by.
>
>
> Dale, there are two examples of fstabs in this message (actually 
> three). But you only want to see those you didn't write. You just need 
> to put "LABEL=somelabel" in the first column.
>
> -- 
> Bill Longman

That's what I wanted to clarify.  I put the whole path but others 
didn't.  I wasn't sure if they meant that literally or if they just 
shortened it a bit.  It looks like it will work either way.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  1 sibling, 1 reply; 73+ messages in thread
From: Dale @ 2010-09-01  0:38 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 08/27/2010 12:49 PM, Dale wrote:
>> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
>> drivers? That way I can boot it and see exactly how it will name them
>> and what drive is what without actually changing anything at all. Is
>> there a boot option "noide" or some other switch I can use?
>
> You do the labeling *before* you switch to the new kernel.  Once you 
> get it working correctly with your current kernel, then you can 
> upgrade to the new ATA drivers and it will just work (which is the 
> whole point of this exercise.)
>
>

OK.  Finally got updated to a new kernel.  I had some trouble with my 
sensors but after a bit of googling I found a workaround.  It appears 
that the kernel folks are trying to fix one thing and broke something 
else.  lol  Progress.

Anyway, this did sort of work out to be weird and not what I expected at 
all.  I expected the drives to be laid out in this way:

sda  first drive with old ide
sdb  second drive with old ide
sdc  third drive with old ide
sdd  forth drive with a SATA controller

Well, it actually sees the drive connected to the SATA controller first 
then the other drives follow along after that in order.  Naturally when 
I first tried to boot I was pointing to sda6 for my root partition.  
Well, it was actually on sdb6.  It did list the drives just before the 
error and the blinking lights on the keyboard.  No scroll back either.  
:-(  I saw just enough to be able to figure out what drives were what.

Is there some way to get it to change this or am I stuck?  My concern is 
that I plan to add another drive to the SATA card soon and that will 
move everything up another notch.   I would really like the IDE drives 
to be seen first since I rarely change them.

Still thinking about getting grub to see labels.  That would help too.  
Actually, that would be a good fix too.

Thanks.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-01  0:38           ` Dale
@ 2010-09-01  6:13             ` Nikos Chantziaras
  2010-09-01  7:12               ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: Nikos Chantziaras @ 2010-09-01  6:13 UTC (permalink / raw
  To: gentoo-user

On 09/01/2010 03:38 AM, Dale wrote:
> Nikos Chantziaras wrote:
>> On 08/27/2010 12:49 PM, Dale wrote:
>>> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
>>> drivers? That way I can boot it and see exactly how it will name them
>>> and what drive is what without actually changing anything at all. Is
>>> there a boot option "noide" or some other switch I can use?
>>
>> You do the labeling *before* you switch to the new kernel. Once you
>> get it working correctly with your current kernel, then you can
>> upgrade to the new ATA drivers and it will just work (which is the
>> whole point of this exercise.)
>>
>
> OK. Finally got updated to a new kernel. [...]
>
> Anyway, this did sort of work out to be weird and not what I expected at
> all. I expected the drives to be laid out in this way:
>
> sda first drive with old ide
> sdb second drive with old ide
> sdc third drive with old ide
> sdd forth drive with a SATA controller
>
> Well, it actually sees the drive connected to the SATA controller first
> then the other drives follow along after that in order.

I mentioned this in a reply :P  Usually SATA drives go first.  (Emphasis 
on "usually.")


> Naturally when I
> first tried to boot I was pointing to sda6 for my root partition. Well,
> it was actually on sdb6. It did list the drives just before the error
> and the blinking lights on the keyboard. No scroll back either. :-( I
> saw just enough to be able to figure out what drives were what.
>
> Is there some way to get it to change this or am I stuck? My concern is
> that I plan to add another drive to the SATA card soon and that will
> move everything up another notch. I would really like the IDE drives to
> be seen first since I rarely change them.

What exactly is the problem you have?  You can't boot?  You can simply 
hit "Esc" in grub and go to text-only mode, and then "e" to edit the 
current grub boot entry.  There you can boot from somewhere else.




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-01  6:13             ` Nikos Chantziaras
@ 2010-09-01  7:12               ` Dale
  2010-09-02  7:46                 ` Neil Bothwick
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-09-01  7:12 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 09/01/2010 03:38 AM, Dale wrote:
>> Nikos Chantziaras wrote:
>>> On 08/27/2010 12:49 PM, Dale wrote:
>>>> Is there a way to boot a Gentoo/Knoppix CD and make it use the PATA
>>>> drivers? That way I can boot it and see exactly how it will name them
>>>> and what drive is what without actually changing anything at all. Is
>>>> there a boot option "noide" or some other switch I can use?
>>>
>>> You do the labeling *before* you switch to the new kernel. Once you
>>> get it working correctly with your current kernel, then you can
>>> upgrade to the new ATA drivers and it will just work (which is the
>>> whole point of this exercise.)
>>>
>>
>> OK. Finally got updated to a new kernel. [...]
>>
>> Anyway, this did sort of work out to be weird and not what I expected at
>> all. I expected the drives to be laid out in this way:
>>
>> sda first drive with old ide
>> sdb second drive with old ide
>> sdc third drive with old ide
>> sdd forth drive with a SATA controller
>>
>> Well, it actually sees the drive connected to the SATA controller first
>> then the other drives follow along after that in order.
>
> I mentioned this in a reply :P  Usually SATA drives go first.  
> (Emphasis on "usually.")

I must have missed that part.  Of course, I'm not surprised either.  You 
know what they say about "plans"?

>
>
>> Naturally when I
>> first tried to boot I was pointing to sda6 for my root partition. Well,
>> it was actually on sdb6. It did list the drives just before the error
>> and the blinking lights on the keyboard. No scroll back either. :-( I
>> saw just enough to be able to figure out what drives were what.
>>
>> Is there some way to get it to change this or am I stuck? My concern is
>> that I plan to add another drive to the SATA card soon and that will
>> move everything up another notch. I would really like the IDE drives to
>> be seen first since I rarely change them.
>
> What exactly is the problem you have?  You can't boot?  You can simply 
> hit "Esc" in grub and go to text-only mode, and then "e" to edit the 
> current grub boot entry.  There you can boot from somewhere else.
>
>

I would like either the old IDE drives to come first, since I rarely 
ever move them or grub to work with labels.  I have a entry in grub.conf 
that uses the labels but i have not rebooted yet.  According to what I 
have read it will work.  The only concern is that if grub doesn't like 
labels and I add another  drive, then I got to edit the grub boot line 
to boot and it took me a couple tries to get this right.  It seeing what 
used to be the last drive first sort of took me by surprise.  I don't 
like surprises to much.

At least I got me a new kernel and I can see the temps and fans in gkrellm.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel  drivers
  2010-09-01  7:12               ` Dale
@ 2010-09-02  7:46                 ` Neil Bothwick
  2010-09-02  8:46                   ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: Neil Bothwick @ 2010-09-02  7:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

On Wed, 01 Sep 2010 02:12:45 -0500, Dale wrote:

> I would like either the old IDE drives to come first, since I rarely 
> ever move them or grub to work with labels.  I have a entry in
> grub.conf that uses the labels but i have not rebooted yet.  According
> to what I have read it will work.  The only concern is that if grub
> doesn't like labels and I add another  drive, then I got to edit the
> grub boot line to boot and it took me a couple tries to get this
> right.  It seeing what used to be the last drive first sort of took me
> by surprise.  I don't like surprises to much.

Press c to get the GRUB command line and then use find to identify your
root partition - find /etc/fstab will work unless you have two root
partitions. There's no need for suck-it-and-see editing of config files,
you only have to change menu.lst after you have found and tested the
correct boot options.

-- 
Neil Bothwick

Next time you wave at me, use more than one finger, please.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-02  7:46                 ` Neil Bothwick
@ 2010-09-02  8:46                   ` Dale
  2010-09-02  9:08                     ` Nikos Chantziaras
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-09-02  8:46 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Wed, 01 Sep 2010 02:12:45 -0500, Dale wrote:
>
>    
>> I would like either the old IDE drives to come first, since I rarely
>> ever move them or grub to work with labels.  I have a entry in
>> grub.conf that uses the labels but i have not rebooted yet.  According
>> to what I have read it will work.  The only concern is that if grub
>> doesn't like labels and I add another  drive, then I got to edit the
>> grub boot line to boot and it took me a couple tries to get this
>> right.  It seeing what used to be the last drive first sort of took me
>> by surprise.  I don't like surprises to much.
>>      
> Press c to get the GRUB command line and then use find to identify your
> root partition - find /etc/fstab will work unless you have two root
> partitions. There's no need for suck-it-and-see editing of config files,
> you only have to change menu.lst after you have found and tested the
> correct boot options.
>
>    

I know I switched to grub from lilo because it was user friendly but I 
haven't used this feature.  So instead of hitting "e", I hit "c" and it 
gives me something similar to what I get when I type grub into a console 
when booted?  I did a man grub here and I don't see that documented.  Is 
this documented somewhere?

I do have a old back-up copy of Gentoo on another drive.  Since it's not 
tarballed, I guess it would find its fstab too.  Grub would think it is 
a second OS.  This is interesting.  I'm hoping this is documented 
somewhere so I can do some reading.

Thanks.

Dale

:-)   :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel  drivers
  2010-09-02  8:46                   ` Dale
@ 2010-09-02  9:08                     ` Nikos Chantziaras
  2010-09-02  9:18                       ` Dale
  0 siblings, 1 reply; 73+ messages in thread
From: Nikos Chantziaras @ 2010-09-02  9:08 UTC (permalink / raw
  To: gentoo-user

On 09/02/2010 11:46 AM, Dale wrote:
> Neil Bothwick wrote:
>> On Wed, 01 Sep 2010 02:12:45 -0500, Dale wrote:
>>
>>> I would like either the old IDE drives to come first, since I rarely
>>> ever move them or grub to work with labels. I have a entry in
>>> grub.conf that uses the labels but i have not rebooted yet. According
>>> to what I have read it will work. The only concern is that if grub
>>> doesn't like labels and I add another drive, then I got to edit the
>>> grub boot line to boot and it took me a couple tries to get this
>>> right. It seeing what used to be the last drive first sort of took me
>>> by surprise. I don't like surprises to much.
>> Press c to get the GRUB command line and then use find to identify your
>> root partition - find /etc/fstab will work unless you have two root
>> partitions. There's no need for suck-it-and-see editing of config files,
>> you only have to change menu.lst after you have found and tested the
>> correct boot options.
>>
>
> I know I switched to grub from lilo because it was user friendly but I
> haven't used this feature. So instead of hitting "e", I hit "c" and it
> gives me something similar to what I get when I type grub into a console
> when booted? I did a man grub here and I don't see that documented. Is
> this documented somewhere?

Yes.  When you press ESC in Grub to go to text mode, it says right there 
that you can press "c" to enter edit mode :)




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-02  9:08                     ` Nikos Chantziaras
@ 2010-09-02  9:18                       ` Dale
  2010-09-02  9:25                         ` Alex Schuster
  0 siblings, 1 reply; 73+ messages in thread
From: Dale @ 2010-09-02  9:18 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 09/02/2010 11:46 AM, Dale wrote:
>> Neil Bothwick wrote:
>>> On Wed, 01 Sep 2010 02:12:45 -0500, Dale wrote:
>>>
>>>> I would like either the old IDE drives to come first, since I rarely
>>>> ever move them or grub to work with labels. I have a entry in
>>>> grub.conf that uses the labels but i have not rebooted yet. According
>>>> to what I have read it will work. The only concern is that if grub
>>>> doesn't like labels and I add another drive, then I got to edit the
>>>> grub boot line to boot and it took me a couple tries to get this
>>>> right. It seeing what used to be the last drive first sort of took me
>>>> by surprise. I don't like surprises to much.
>>> Press c to get the GRUB command line and then use find to identify your
>>> root partition - find /etc/fstab will work unless you have two root
>>> partitions. There's no need for suck-it-and-see editing of config 
>>> files,
>>> you only have to change menu.lst after you have found and tested the
>>> correct boot options.
>>>
>>
>> I know I switched to grub from lilo because it was user friendly but I
>> haven't used this feature. So instead of hitting "e", I hit "c" and it
>> gives me something similar to what I get when I type grub into a console
>> when booted? I did a man grub here and I don't see that documented. Is
>> this documented somewhere?
>
> Yes.  When you press ESC in Grub to go to text mode, it says right 
> there that you can press "c" to enter edit mode :)
>
>

I was hoping for something like a man page or something tho.   I would 
like to read up on this a little before jumping in head first.  Does it 
have a little info on screen on what does what at least?  I think the 
edit screen does but not sure about this part.

Thanks.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-02  9:18                       ` Dale
@ 2010-09-02  9:25                         ` Alex Schuster
  2010-09-02  9:38                           ` Nikos Chantziaras
  0 siblings, 1 reply; 73+ messages in thread
From: Alex Schuster @ 2010-09-02  9:25 UTC (permalink / raw
  To: gentoo-user

Dale writes:

> I was hoping for something like a man page or something tho.   I would
> like to read up on this a little before jumping in head first.  Does it
> have a little info on screen on what does what at least?  I think the
> edit screen does but not sure about this part.

Grub comes with a lot of documentation. Although the man page is very 
small, it says that the full documentation comes as Texinfo manual, so 
'info grub' gives you the full manual. Or read it online here:

http://www.gnu.org/software/grub/manual/legacy/

	Wonko



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  0 siblings, 2 replies; 73+ messages in thread
From: Nikos Chantziaras @ 2010-09-02  9:38 UTC (permalink / raw
  To: gentoo-user

On 09/02/2010 12:25 PM, Alex Schuster wrote:
> Dale writes:
>
>> I was hoping for something like a man page or something tho.   I would
>> like to read up on this a little before jumping in head first.  Does it
>> have a little info on screen on what does what at least?  I think the
>> edit screen does but not sure about this part.
>
> Grub comes with a lot of documentation. Although the man page is very
> small, it says that the full documentation comes as Texinfo manual, so
> 'info grub' gives you the full manual. Or read it online here:
>
> http://www.gnu.org/software/grub/manual/legacy/

If you're on KDE you can also read info documents with a much nicer, 
hyperlinked interface.  Either enter "info:grub" in krunner (Alt+F2, 
fastest way) or as a URL in Konqueror.  Works with man pages too, btw 
("man:" instead of "info:").




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-02  9:38                           ` Nikos Chantziaras
@ 2010-09-02  9:47                             ` Dale
  2010-09-02 22:10                             ` Peter Humphrey
  1 sibling, 0 replies; 73+ messages in thread
From: Dale @ 2010-09-02  9:47 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> On 09/02/2010 12:25 PM, Alex Schuster wrote:
>> Dale writes:
>>
>>> I was hoping for something like a man page or something tho.   I would
>>> like to read up on this a little before jumping in head first.  Does it
>>> have a little info on screen on what does what at least?  I think the
>>> edit screen does but not sure about this part.
>>
>> Grub comes with a lot of documentation. Although the man page is very
>> small, it says that the full documentation comes as Texinfo manual, so
>> 'info grub' gives you the full manual. Or read it online here:
>>
>> http://www.gnu.org/software/grub/manual/legacy/
>
> If you're on KDE you can also read info documents with a much nicer, 
> hyperlinked interface.  Either enter "info:grub" in krunner (Alt+F2, 
> fastest way) or as a URL in Konqueror.  Works with man pages too, btw 
> ("man:" instead of "info:").
>
>

I knew about man:* in Konqueror but I didn't know about the info:* 
feature.  Now that is cool.

Thanks much to both of you.  I got some reading to do.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
                                                 ` (2 more replies)
  1 sibling, 3 replies; 73+ messages in thread
From: Peter Humphrey @ 2010-09-02 22:10 UTC (permalink / raw
  To: gentoo-user

On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:

> If you're on KDE you can also read info documents with a much nicer,
> hyperlinked interface.  Either enter "info:grub" in krunner (Alt+F2,
> fastest way) or as a URL in Konqueror.

Not here. My firefox doesn't know what to do with info pages. What's the 
recipe?

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-02 22:10                             ` Peter Humphrey
@ 2010-09-02 22:24                               ` Dale
  2010-09-02 23:57                               ` Nikos Chantziaras
  2010-09-03 16:25                               ` Thanasis
  2 siblings, 0 replies; 73+ messages in thread
From: Dale @ 2010-09-02 22:24 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:
> On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:
>
>    
>> If you're on KDE you can also read info documents with a much nicer,
>> hyperlinked interface.  Either enter "info:grub" in krunner (Alt+F2,
>> fastest way) or as a URL in Konqueror.
>>      
> Not here. My firefox doesn't know what to do with info pages. What's the
> recipe?
>
>    

I bet Firefox doesn't.  Konqueror does tho.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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:25                               ` Thanasis
  2 siblings, 1 reply; 73+ messages in thread
From: Nikos Chantziaras @ 2010-09-02 23:57 UTC (permalink / raw
  To: gentoo-user

On 09/03/2010 01:10 AM, Peter Humphrey wrote:
> On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:
>
>> If you're on KDE you can also read info documents with a much nicer,
>> hyperlinked interface.  Either enter "info:grub" in krunner (Alt+F2,
>> fastest way) or as a URL in Konqueror.
>
> Not here. My firefox doesn't know what to do with info pages. What's the
> recipe?

KRunner.




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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:19                                   ` Dale
  0 siblings, 2 replies; 73+ messages in thread
From: Peter Humphrey @ 2010-09-03 15:54 UTC (permalink / raw
  To: gentoo-user

On Friday 03 September 2010 00:57:00 Nikos Chantziaras wrote:
> On 09/03/2010 01:10 AM, Peter Humphrey wrote:
> > On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:
> >> If you're on KDE you can also read info documents with a much
> >> nicer, hyperlinked interface.  Either enter "info:grub" in
> >> krunner (Alt+F2, fastest way) or as a URL in Konqueror.
> > 
> > Not here. My firefox doesn't know what to do with info pages.
> > What's the recipe?
> 
> KRunner.

...which calls Firefox, which doesnt' know what to do.

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  1 sibling, 1 reply; 73+ messages in thread
From: Nikos Chantziaras @ 2010-09-03 16:01 UTC (permalink / raw
  To: gentoo-user

On 09/03/2010 06:54 PM, Peter Humphrey wrote:
> On Friday 03 September 2010 00:57:00 Nikos Chantziaras wrote:
>> On 09/03/2010 01:10 AM, Peter Humphrey wrote:
>>> On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:
>>>> If you're on KDE you can also read info documents with a much
>>>> nicer, hyperlinked interface.  Either enter "info:grub" in
>>>> krunner (Alt+F2, fastest way) or as a URL in Konqueror.
>>>
>>> Not here. My firefox doesn't know what to do with info pages.
>>> What's the recipe?
>>
>> KRunner.
>
> ...which calls Firefox, which doesnt' know what to do.

That's not possible.  Firefox handles "http:", "ftp:", etc, not "info:" 
and "man:".

You must either have found a bug, or have changed some configuration 
option without knowing.




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-03 15:54                                 ` Peter Humphrey
  2010-09-03 16:01                                   ` Nikos Chantziaras
@ 2010-09-03 16:19                                   ` Dale
  2010-09-03 16:31                                     ` Peter Humphrey
  1 sibling, 1 reply; 73+ messages in thread
From: Dale @ 2010-09-03 16:19 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:
> On Friday 03 September 2010 00:57:00 Nikos Chantziaras wrote:
>    
>> On 09/03/2010 01:10 AM, Peter Humphrey wrote:
>>      
>>> On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:
>>>        
>>>> If you're on KDE you can also read info documents with a much
>>>> nicer, hyperlinked interface.  Either enter "info:grub" in
>>>> krunner (Alt+F2, fastest way) or as a URL in Konqueror.
>>>>          
>>> Not here. My firefox doesn't know what to do with info pages.
>>> What's the recipe?
>>>        
>> KRunner.
>>      
> ...which calls Firefox, which doesnt' know what to do.
>
>    

Just open konqueror and where URLs go, just type in "man:ls" or 
"info:ls" and the man or info page will pop up.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-03 16:01                                   ` Nikos Chantziaras
@ 2010-09-03 16:24                                     ` Peter Humphrey
  0 siblings, 0 replies; 73+ messages in thread
From: Peter Humphrey @ 2010-09-03 16:24 UTC (permalink / raw
  To: gentoo-user

On Friday 03 September 2010 17:01:44 Nikos Chantziaras wrote:
> On 09/03/2010 06:54 PM, Peter Humphrey wrote:
> > On Friday 03 September 2010 00:57:00 Nikos Chantziaras wrote:
> >> On 09/03/2010 01:10 AM, Peter Humphrey wrote:
> >>> On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:
> >>>> If you're on KDE you can also read info documents with a much
> >>>> nicer, hyperlinked interface.  Either enter "info:grub" in
> >>>> krunner (Alt+F2, fastest way) or as a URL in Konqueror.
> >>> 
> >>> Not here. My firefox doesn't know what to do with info pages.
> >>> What's the recipe?
> >> 
> >> KRunner.
> > 
> > ...which calls Firefox, which doesnt' know what to do.
> 
> That's not possible.  Firefox handles "http:", "ftp:", etc, not
> "info:" and "man:".
> 
> You must either have found a bug, or have changed some configuration
> option without knowing.

Possible or not, it happens.

On searching through the KDE file associations I don't see an entry for 
info files, and the one for x-troff-man doesn't mention Firefox, so I 
don't know why it's being called. That's why I asked for the recipe to 
add to the file associations.

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-02 22:10                             ` Peter Humphrey
  2010-09-02 22:24                               ` Dale
  2010-09-02 23:57                               ` Nikos Chantziaras
@ 2010-09-03 16:25                               ` Thanasis
  2 siblings, 0 replies; 73+ messages in thread
From: Thanasis @ 2010-09-03 16:25 UTC (permalink / raw
  To: gentoo-user

 on 09/03/2010 01:10 AM Peter Humphrey wrote the following:
> On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:
>
>> If you're on KDE you can also read info documents with a much nicer,
>> hyperlinked interface.  Either enter "info:grub" in krunner (Alt+F2,
>> fastest way) or as a URL in Konqueror.
>
> Not here. My firefox doesn't know what to do with info pages. What's the 
> recipe?
>
mine calls gnome Help 2.30.1 and it works.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  0 siblings, 2 replies; 73+ messages in thread
From: Peter Humphrey @ 2010-09-03 16:31 UTC (permalink / raw
  To: gentoo-user

On Friday 03 September 2010 17:19:08 Dale wrote:

> Just open konqueror and where URLs go, just type in "man:ls" or
> "info:ls" and the man or info page will pop up.

Yes, thanks, I can do that. I just wanted to get my file associations 
cleaned up.

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-03 16:31                                     ` Peter Humphrey
@ 2010-09-03 17:50                                       ` Dale
  2010-09-03 21:19                                       ` Neil Bothwick
  1 sibling, 0 replies; 73+ messages in thread
From: Dale @ 2010-09-03 17:50 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:
> On Friday 03 September 2010 17:19:08 Dale wrote:
>
>    
>> Just open konqueror and where URLs go, just type in "man:ls" or
>> "info:ls" and the man or info page will pop up.
>>      
> Yes, thanks, I can do that. I just wanted to get my file associations
> cleaned up.
>
>    

I read about this a while ago.  I'm not sure that it is a file 
association like is used for other things.  Those usually use something 
on the end of a file name and man and info is at the beginning of this.  
It seems to me that man and info is replacing things like http and other 
prefixes so it sees this as something different.

I saw the settings for this somewhere back in KDE 3.5 but I am having no 
luck in KDE4.  It's somewhere but I can't find it at the moment.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  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
  1 sibling, 1 reply; 73+ messages in thread
From: Neil Bothwick @ 2010-09-03 21:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

On Fri, 3 Sep 2010 17:31:08 +0100, Peter Humphrey wrote:

> > Just open konqueror and where URLs go, just type in "man:ls" or
> > "info:ls" and the man or info page will pop up.  
> 
> Yes, thanks, I can do that. I just wanted to get my file associations 
> cleaned up.

This isn't a file association though, it's choosing what to run based on
the protocol. Do you have kde-base/kdebase-kioslaves installed? If you
do, re-emerging it may fix whatever has become broken.


-- 
Neil Bothwick

Time for a diet!                             -- [NO FLABBIER].

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-03 21:19                                       ` Neil Bothwick
@ 2010-09-03 22:31                                         ` Peter Humphrey
  2010-09-04  7:23                                           ` Nikos Chantziaras
  0 siblings, 1 reply; 73+ messages in thread
From: Peter Humphrey @ 2010-09-03 22:31 UTC (permalink / raw
  To: gentoo-user

On Friday 03 September 2010 22:19:47 Neil Bothwick wrote:
> On Fri, 3 Sep 2010 17:31:08 +0100, Peter Humphrey wrote:
> > > Just open konqueror and where URLs go, just type in "man:ls" or
> > > "info:ls" and the man or info page will pop up.
> > 
> > Yes, thanks, I can do that. I just wanted to get my file
> > associations cleaned up.
> 
> This isn't a file association though, it's choosing what to run based
> on the protocol. Do you have kde-base/kdebase-kioslaves installed?
> If you do, re-emerging it may fix whatever has become broken.

Thanks for the idea, but it didn't help. (Is it possible not to have the 
IO slaves installed? I suppose it is, but what a lot of usefulness would 
be lost thereby.)

It may be significant that I get a new tab in the existing Firefox 
window, plus a new window in front of the existing one. What might cause 
that?

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



^ permalink raw reply	[flat|nested] 73+ messages in thread

* [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-03 22:31                                         ` Peter Humphrey
@ 2010-09-04  7:23                                           ` Nikos Chantziaras
  2010-09-05  9:08                                             ` Peter Humphrey
  0 siblings, 1 reply; 73+ messages in thread
From: Nikos Chantziaras @ 2010-09-04  7:23 UTC (permalink / raw
  To: gentoo-user

On 09/04/2010 01:31 AM, Peter Humphrey wrote:
> On Friday 03 September 2010 22:19:47 Neil Bothwick wrote:
>> On Fri, 3 Sep 2010 17:31:08 +0100, Peter Humphrey wrote:
>>>> Just open konqueror and where URLs go, just type in "man:ls" or
>>>> "info:ls" and the man or info page will pop up.
>>>
>>> Yes, thanks, I can do that. I just wanted to get my file
>>> associations cleaned up.
>>
>> This isn't a file association though, it's choosing what to run based
>> on the protocol. Do you have kde-base/kdebase-kioslaves installed?
>> If you do, re-emerging it may fix whatever has become broken.
>
> Thanks for the idea, but it didn't help. (Is it possible not to have the
> IO slaves installed? I suppose it is, but what a lot of usefulness would
> be lost thereby.)
>
> It may be significant that I get a new tab in the existing Firefox
> window, plus a new window in front of the existing one. What might cause
> that?

Something seems screwed in your config.  Try creating a new test user 
and login with that one.  See if it still happens there.




^ permalink raw reply	[flat|nested] 73+ messages in thread

* Re: [gentoo-user] Re: Old IDE drives and the "newer" PATA kernel drivers
  2010-09-04  7:23                                           ` Nikos Chantziaras
@ 2010-09-05  9:08                                             ` Peter Humphrey
  0 siblings, 0 replies; 73+ messages in thread
From: Peter Humphrey @ 2010-09-05  9:08 UTC (permalink / raw
  To: gentoo-user

On Saturday 04 September 2010 08:23:41 Nikos Chantziaras wrote:

> Something seems screwed in your config.  Try creating a new test user
> and login with that one.  See if it still happens there.

You're right. I did that and info:grub was displayed properly in 
Konqueror. Now to find what's gone wrong.

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



^ permalink raw reply	[flat|nested] 73+ messages in thread

end of thread, other threads:[~2010-09-05  9:08 UTC | newest]

Thread overview: 73+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox