Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk
You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."
Today's Topics:
1. My UUID's have changed (was LVM needs a tidy up) (Peter Hemmings)
2. Re: My UUID's have changed (Peter Hemmings)
----------------------------------------------------------------------
Message: 1
Date: Fri, 15 Jan 2016 23:03:50 +0000
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] My UUID's have changed (was LVM needs a tidy up)
Message-ID: <56997AD6.6080906@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Update:
Found this site that was relevant (ssm was very useful)
http://wiki.networksecuritytoolkit.org/nstwiki/index.php/HowTo_Change_The_LVM_Volume_Group_Name_That_Includes_The_Root_Partition
I changed the label to better name on sda VG's and changed fstab on sdb
then updated initramfs on sdb(working fed22).
As my sda (fedora 23) still had problems with GDM and video driver, I
gave up with it and reinstalled fedora 23 on sda
With me so far!?
(Already backed up data)
I then checked everything and all is OK on sda booting fedora 23 with grub2.
I now tried to get grub to probe the other sdb partitions in particular
my old fedora 22 LVM but it will see them. On running the following
commands and looking at previous UUID's some have changed and they are
the ones I need to detect (on sdb3 sdb6 and sdb7):
[root@localhost peter]# blkid /dev/sdb1 /dev/sdb2 /dev/sdb3 /dev/sdb4
/dev/sdb5 /dev/sdb6 /dev/sdb7
/dev/sdb1: UUID="5614526C14524F5D" TYPE="ntfs" PARTUUID="23424300-01"
/dev/sdb2: UUID="eff2cfb8-1940-4bda-ac5e-b105839ce937" TYPE="ext4"
PARTUUID="23424300-02"
/dev/sdb3: UUID="bF3gFv-1aR6-Yv4U-sfYs-rvV4-TyVI-zfwE54"
TYPE="LVM2_member" PARTUUID="23424300-03"
/dev/sdb4: PTTYPE="dos" PARTUUID="23424300-04"
/dev/sdb5: UUID="89e544e1-fc6e-4c36-ba47-0f5db1bb2cb5" TYPE="ext4"
PARTUUID="23424300-05"
/dev/sdb6: UUID="pK0y9y-i09V-0iNN-sCIh-4N4n-vH3U-NQchC2"
TYPE="LVM2_member" PARTUUID="23424300-06"
/dev/sdb7: UUID="NPQ0g3-gGBS-vYRm-PmIU-F9wi-LmwU-16jFlv"
TYPE="LVM2_member" PARTUUID="23424300-07"
[root@localhost peter]#
root@localhost peter]# ls -la /dev/disk/by-uuid
total 0
drwxr-xr-x. 2 root root 320 Jan 15 21:53 .
drwxr-xr-x. 6 root root 120 Jan 15 21:53 ..
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
17de4450-297b-4777-b379-0b3db88557f7 -> ../../dm-1
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
490edcc0-c352-4c44-a06e-7bb03792fdbd -> ../../sda2
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
51b1d4a1-eedf-4d0a-8d9b-64d23289ca2c -> ../../dm-7
lrwxrwxrwx. 1 root root 10 Jan 15 21:53 5614526C14524F5D -> ../../sdb1
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
58b335b5-2c75-4531-9336-6eff8172cbc2 -> ../../sdc1
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
61d756a7-bff3-4457-83f9-62614ca02beb -> ../../dm-6
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
713b0055-85d6-43ae-9395-7efcd6614dbb -> ../../dm-3
lrwxrwxrwx. 1 root root 10 Jan 15 21:53 7C2804A6134728CD -> ../../sda1
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
7c3b1743-c510-45c6-b943-2fe58bce6f65 -> ../../dm-4
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
89b901e2-0bf8-40be-95ab-d2dfc3260ba1 -> ../../dm-2
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
89e544e1-fc6e-4c36-ba47-0f5db1bb2cb5 -> ../../sdb5
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
af6ca2ae-f165-4deb-88b6-a5b2c4f46223 -> ../../dm-5
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
bfad1c34-5821-4202-8e4e-527a6debe68f -> ../../dm-0
lrwxrwxrwx. 1 root root 10 Jan 15 21:53
eff2cfb8-1940-4bda-ac5e-b105839ce937 -> ../../sdb2
Why and how have I messed up UUID's and more importantly how can I get
back to seeing all partitions?
Regards
--
Peter H
------------------------------
Message: 2
Date: Sat, 16 Jan 2016 11:28:53 +0000
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] My UUID's have changed
Message-ID: <569A2975.5000903@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Sorted
I eventually did a windoze thing and reinstalled grub2/rescanned HW and
my box now picks up all HD's from both new fc23 grub on sda and old grub
fc22 on sdb.
All the UUID's read the same (but some had changed not sure why, but
accept it!).
I also found another fc23 on an extended partition that I did not
realize I had which was part of my problem!
Will now continue to clear out the unused rubbish on sdb and reconfigure
LVM VGs into something more manageable.
I must write 100 times "Do not be lazy when installing onto cheap disk
space"!
Regards
--
Peter H
------------------------------
Subject: Digest Footer
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
------------------------------
End of Bristol Digest, Vol 631, Issue 3
***************************************
Tidak ada komentar:
Posting Komentar