larryni
October 2nd, 2008, 07:25 PM
A few weeks ago re-partitioned the hard drive of my laptop as follows:
sda1 - / Ubuntu
sda2 - / for test install
sda3 - extended
sda5 - swap
sda6 - /home Ubuntu
sda7 - /home for test install
sda8 - storage for media accessible by either install
I installed Hardy using sda1, sda5, sda6 and sda8.
Then I decided to try out OpenSuse 11 and install it using sda2, sda5, sda7. When it came to chose the partitions I noticed that sda7 and sda8 had suddenly swapped labels, ie sda7 was now sda8 and vice-versa. I quit the installer and booted back into Ubuntu to make sure things were still working as they should, fired up Gparted and yes, the labels had changed. I checked the fstab entry for sda8:
# /dev/sda8
UUID=0a5e490d-da61-4f63-8417-bd0bb945da12 /media/media ext3 relatime 0 2
I checked out the UUID and instead of sda8 it's the one for sda7. So now my partition setup was as follows:
sda1 - / Ubuntu
sda2 - / for test install
sda3 - extended
sda5 - swap
sda6 - /home Ubuntu
sda8 - /home for test install
sda7 - storage for media accessible by either install
I left it like that and went ahead with the OpenSuse install using sa2, sda5, and sda8. No problem with the install.
A couple of days ago I was playing around with a new conky setup in Ubuntu and decided to display the memory usage, including swap. To my surprise it showed up as 'no swap'. I rebooted - still no swap.
I tried
sudo swapon -a and it gave an error message that the UUID in fstab could not be resolved (can't remember the exact message). The sda5 UUID had changed as well. It was easily fixed by editing fstab and replacing the UUID with /dev/sda5. But I'm still not sure when or how the UUID changed.
Any idea what's going on here?
sda1 - / Ubuntu
sda2 - / for test install
sda3 - extended
sda5 - swap
sda6 - /home Ubuntu
sda7 - /home for test install
sda8 - storage for media accessible by either install
I installed Hardy using sda1, sda5, sda6 and sda8.
Then I decided to try out OpenSuse 11 and install it using sda2, sda5, sda7. When it came to chose the partitions I noticed that sda7 and sda8 had suddenly swapped labels, ie sda7 was now sda8 and vice-versa. I quit the installer and booted back into Ubuntu to make sure things were still working as they should, fired up Gparted and yes, the labels had changed. I checked the fstab entry for sda8:
# /dev/sda8
UUID=0a5e490d-da61-4f63-8417-bd0bb945da12 /media/media ext3 relatime 0 2
I checked out the UUID and instead of sda8 it's the one for sda7. So now my partition setup was as follows:
sda1 - / Ubuntu
sda2 - / for test install
sda3 - extended
sda5 - swap
sda6 - /home Ubuntu
sda8 - /home for test install
sda7 - storage for media accessible by either install
I left it like that and went ahead with the OpenSuse install using sa2, sda5, and sda8. No problem with the install.
A couple of days ago I was playing around with a new conky setup in Ubuntu and decided to display the memory usage, including swap. To my surprise it showed up as 'no swap'. I rebooted - still no swap.
I tried
sudo swapon -a and it gave an error message that the UUID in fstab could not be resolved (can't remember the exact message). The sda5 UUID had changed as well. It was easily fixed by editing fstab and replacing the UUID with /dev/sda5. But I'm still not sure when or how the UUID changed.
Any idea what's going on here?