Re: question about fstab in squeeze and uuid

2010-03-17 Thread Tom H
You could make a note of the UUID before the re-install then re-apply it to the partition with tune2fs -U uuid /dev/sdaX However you *must* take a note. This is not something you can remember. As opposed to a partitioning scheme, that you can remember. True but it should be common practice

Re: question about fstab in squeeze and uuid

2010-03-14 Thread Tzafrir Cohen
On Sat, Mar 13, 2010 at 11:13:14AM -0500, Tom H wrote: When I install a 2nd/3rd distrib on a HD, I have made it a practice to set up fstab so the existing distrib are mounted automatically. Repeated use leads to all functioning distrib to be crosslinked. But when a distrib must be

Re: question about fstab in squeeze and uuid

2010-03-14 Thread Paul E Condon
On 20100314_142055, Tzafrir Cohen wrote: On Sat, Mar 13, 2010 at 11:13:14AM -0500, Tom H wrote: When I install a 2nd/3rd distrib on a HD, I have made it a practice to set up fstab so the existing distrib are mounted automatically. Repeated use leads to all functioning distrib to be

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Freeman
On Fri, Mar 12, 2010 at 08:16:48PM +, Camaleón wrote: On Fri, 12 Mar 2010 20:21:14 +0100, Javier Barroso wrote: (...) Maybe there is a good comparison chart about all these methods that list their pros and cons :-? Not a chart, but yes references to why uuid ... :

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Tom H
I believe a UUID is generated when the partition is formatted, either with mkfs or mkswap. I confirm - just tried shrinking and growing back an extfs. UUID is left untouched (as expected); that Mint article is BS or just obsolete. I have never come across the problem described by the Mint

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Paul E Condon
On 20100313_095320, Tom H wrote: I believe a UUID is generated when the partition is formatted, either with mkfs or mkswap. I confirm - just tried shrinking and growing back an extfs. UUID is left untouched (as expected); that Mint article is BS or just obsolete. I have never come

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Tom H
When I install a 2nd/3rd distrib on a HD, I have made it a practice to set up fstab so the existing distrib are mounted automatically. Repeated use leads to all functioning distrib to be crosslinked. But when a distrib must be reinstalled because something drasticly wrong happened, or

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Paul E Condon
On 20100313_111314, Tom H wrote: When I install a 2nd/3rd distrib on a HD, I have made it a practice to set up fstab so the existing distrib are mounted automatically. Repeated use leads to all functioning distrib to be crosslinked. But when a distrib must be reinstalled because something

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Camaleón
On Sat, 13 Mar 2010 00:53:35 -0800, Freeman wrote: On Fri, Mar 12, 2010 at 08:16:48PM +, Camaleón wrote: (...) Well, that said I like Lenny still uses the old scheme /dev/sdx. At least if it changes, I still understand it better than the new udev naming :-) I've been changing to

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Stephen Powell
On Sat, 13 Mar 2010 00:26:58 -0500 (EST), Paul E Condon wrote: A bit worrisome to me. UUID must be persistent during normal life of a device, so it can be used as an identifier. It is important to distinguish between a device and a partition. /dev/hda is a device. /dev/hda1 is a partition.

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Freeman
On Sat, Mar 13, 2010 at 07:19:13PM +, Camaleón wrote: On Sat, 13 Mar 2010 00:53:35 -0800, Freeman wrote: On Fri, Mar 12, 2010 at 08:16:48PM +, Camaleón wrote: I typo-ed the label for my root partition on my last fstab update but it mounted anyway as rootfs in mtab. So I put

Re: question about fstab in squeeze and uuid

2010-03-13 Thread Paul E Condon
On 20100313_144620, Stephen Powell wrote: On Sat, 13 Mar 2010 00:26:58 -0500 (EST), Paul E Condon wrote: A bit worrisome to me. UUID must be persistent during normal life of a device, so it can be used as an identifier. It is important to distinguish between a device and a partition.

Re: question about fstab in squeeze and uuid

2010-03-13 Thread thib
Stephen Powell wrote: On Sat, 13 Mar 2010 00:26:58 -0500 (EST), Paul E Condon wrote: A bit worrisome to me. UUID must be persistent during normal life of a device, so it can be used as an identifier. It is important to distinguish between a device and a partition. /dev/hda is a device.

question about fstab in squeeze and uuid

2010-03-12 Thread Paul E Condon
I'm working on a computer that I am trying to make dual-boot into both Lenny and Squeeze. As some are already aware, squeeze rewrites /etc/fstab to replace devices like /dev/hda2 with a UUID for the device that is a long computer generated string. I know very little about UUIDs but I suppose they

Re: question about fstab in squeeze and uuid

2010-03-12 Thread Javier Barroso
Hi, On Fri, Mar 12, 2010 at 7:27 PM, Paul E Condon pecon...@mesanetworks.net wrote: I'm working on a computer that I am trying to make dual-boot into both Lenny and Squeeze. As some are already aware, squeeze rewrites /etc/fstab to replace devices like /dev/hda2 with a UUID for the device

Re: question about fstab in squeeze and uuid

2010-03-12 Thread Camaleón
On Fri, 12 Mar 2010 11:27:55 -0700, Paul E Condon wrote: (...) I'm looking for reliable information on how UUIDs are generated, and how their uses is intended within Squeeze, so that I can puzzle out what I might be doing wrong. There a FAQ about UUID here. While focused on Linux Mint, I

Re: question about fstab in squeeze and uuid

2010-03-12 Thread Stephen Powell
On Fri, 12 Mar 2010 13:27:55 -0500 (EST), Paul E Condon wrote: I'm working on a computer that I am trying to make dual-boot into both Lenny and Squeeze. As some are already aware, squeeze rewrites /etc/fstab to replace devices like /dev/hda2 with a UUID for the device that is a long computer

Re: question about fstab in squeeze and uuid

2010-03-12 Thread Javier Barroso
Hi, On Fri, Mar 12, 2010 at 8:00 PM, Camaleón noela...@gmail.com wrote: On Fri, 12 Mar 2010 11:27:55 -0700, Paul E Condon wrote: (...) I'm looking for reliable information on how UUIDs are generated, and how their uses is intended within Squeeze, so that I can puzzle out what I might be

Re: question about fstab in squeeze and uuid

2010-03-12 Thread Camaleón
On Fri, 12 Mar 2010 20:21:14 +0100, Javier Barroso wrote: (...) Maybe there is a good comparison chart about all these methods that list their pros and cons :-? Not a chart, but yes references to why uuid ... : https://bugzilla.redhat.com/show_bug.cgi?id=364441

Re: question about fstab in squeeze and uuid

2010-03-12 Thread Cousin Stanley
I personally don't like the use of UUIDS by the installer and I change them back to their traditional names. I'm also not a uuid fan and find that using disk labels in /etc/fstab a la /dev/disk/by-label as an alternative has worked well for me -- Stanley C.

Re: question about fstab in squeeze and uuid

2010-03-12 Thread thib
Stephen Powell wrote: I believe a UUID is generated when the partition is formatted, either with mkfs or mkswap. I confirm - just tried shrinking and growing back an extfs. UUID is left untouched (as expected); that Mint article is BS or just obsolete. -thib -- To UNSUBSCRIBE, email to

Re: question about fstab in squeeze and uuid

2010-03-12 Thread Paul E Condon
On 20100313_020002, thib wrote: Stephen Powell wrote: I believe a UUID is generated when the partition is formatted, either with mkfs or mkswap. I confirm - just tried shrinking and growing back an extfs. UUID is left untouched (as expected); that Mint article is BS or just obsolete.