changing partition designations

Marius Gedminas marius at pov.lt
Tue Jul 1 20:29:28 UTC 2008


On Tue, Jul 01, 2008 at 12:11:52PM -0700, Robert Holtzman wrote:
> Just had occasion to look at my /etc/mtab and the partition names had
> changed from /dev/sda* to /dev/sdb*. My /etc/fstab still shows /dev/sda*.
> This *may* have happened when I recently used gparted to create 3 new
> partitions (which I have yet to install anything on).

No, that's not related.

> What happened and
> can I rename back to /dev/sda* or do I live with it and edit /etc/fstab?

Don't worry, the naming depends on timing issues (which device was
detected first during boot).  For this reason Ubuntu sets up /etc/fstab
to use UUIDs and not device names.

> The UUID's match those in fstab.

That's good.  I'm sure the /dev/sda* names are left in the comments only
(lines starting with a '#' character), otherwise your system wouldn't
have booted.

> The danger, of course, is that if anything happened that would force me
> to reboot, such as a power outage, I'd be screwed....I think.

No.

> Any pointers *greatly* appreciated!

I'm sure there's a page on ubuntu.com explaining all this... probably
this one: https://help.ubuntu.com/community/UsingUUID

Marius Gedminas
-- 
If it weren't for the last minute, nothing would get done.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080701/f49adb01/attachment.sig>


More information about the ubuntu-users mailing list