From: Ron Johnson on 21 Mar 2010 18:50 On 2010-03-21 10:42, Tom H wrote: [snip] > >> *You* should not need to set the UUID. It should just magically be there. >> $ /sbin/blkid -t TYPE=swap >> /dev/sdb1: TYPE="swap" LABEL="swap1" \ >> UUID="c69f59ff-b928-4232-b44c-8da0f12c52db" > > You can cnahe the UUID of any ext partition with cnahe??? > tune2fs -U <uuid> /dev/... But you're *not* supposed to *need* to, -- Obsession with "preserving cultural heritage" is a racist impediment to moral, physical and intellectual progress. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BA6A1F7.9050109(a)cox.net
From: Tom H on 21 Mar 2010 19:00 >>> *You* should not need to set the UUID. It should just magically be >>> there. >>> $ /sbin/blkid -t TYPE=swap >>> /dev/sdb1: TYPE="swap" LABEL="swap1" \ >>> UUID="c69f59ff-b928-4232-b44c-8da0f12c52db" >> You can cnahe the UUID of any ext partition with > cnahe??? It is Sunday and my first weekend off in a few weeks so my fingers are on holiday... >> tune2fs -U <uuid> /dev/... > But you're *not* supposed to *need* to, You do need to do so if you install a second/third/fourth... distribution or version and mkswap changes the UUID of the swap partition (although I _think_ that you can use "mkswap -U <uuid>") and you therefore have to boot without swap from your previous install(s). -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/6d4219cc1003211552n6d58612bpbf0761fb6f86fdec(a)mail.gmail.com
From: Ron Johnson on 21 Mar 2010 19:20 On 2010-03-21 17:52, Tom H wrote: >>>> *You* should not need to set the UUID. It should just magically be >>>> there. >>>> $ /sbin/blkid -t TYPE=swap >>>> /dev/sdb1: TYPE="swap" LABEL="swap1" \ >>>> UUID="c69f59ff-b928-4232-b44c-8da0f12c52db" > >>> You can cnahe the UUID of any ext partition with > >> cnahe??? > > It is Sunday and my first weekend off in a few weeks so my fingers are > on holiday... > > >>> tune2fs -U <uuid> /dev/... > >> But you're *not* supposed to *need* to, > > You do need to do so if you install a second/third/fourth... > distribution or version and mkswap changes the UUID of the swap I'd want *proof* (i.e., booting into different distros) that different mkswap invocations generate different UUIDs. > partition (although I _think_ that you can use "mkswap -U <uuid>") and > you therefore have to boot without swap from your previous install(s). > Or... use a LABEL. -- "History does not long entrust the care of freedom to the weak or the timid." Dwight Eisenhower -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BA6A91D.5010506(a)cox.net
From: Tom H on 21 Mar 2010 19:30 > I'd want *proof* (i.e., booting into different distros) that different > mkswap invocations generate different UUIDs. I have no idea what proof I can provide except to say that I have been caught by that. I installed a second distribution and I could either not prevent it from running mkswap or forgot to prevent it from doing so and I had, when I rebooted into the first distribution, an error message about swap. And it turned out that the swap UUID had been modified. > Or... use a LABEL. Every one of the disk-naming options has its pluses and minuses. Since UUID is the default or becoming the default and it is not worse than any other option, using another method is not worth the hassle. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/6d4219cc1003211626p6970b45bp67576260a73c0504(a)mail.gmail.com
From: Ron Johnson on 21 Mar 2010 20:10 On 2010-03-21 18:26, Tom H wrote: >> I'd want *proof* (i.e., booting into different distros) that different >> mkswap invocations generate different UUIDs. > > I have no idea what proof I can provide except to say that I have been > caught by that. > > I installed a second distribution and I could either not prevent it > from running mkswap or forgot to prevent it from doing so and I had, > when I rebooted into the first distribution, an error message about > swap. And it turned out that the swap UUID had been modified. > Expert install or simple install? -- "History does not long entrust the care of freedom to the weak or the timid." Dwight Eisenhower -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BA6B420.1080705(a)cox.net
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: TCP wrapper and hostname issue Next: Panner and Gnome Terminal lag time. |