[sclug] Help! (with a big 'H')
David Given
dg at cowlark.com
Sat Apr 26 12:38:21 UTC 2008
Alex Butcher wrote:
[...]
> I guess Ubuntu has moved to libata, and so all disc devices are now
> /dev/sd*
> devices, even if they're EIDE/PATA.
Yeah, what he said.
To find out where it's gone, do 'sudo -i' to become root, then:
fdisk -l
That will list all the partitions your system can see. One of the disks
should look familiar. Your partition's probably now called something
like /dev/sdq5 (the number should be the same).
The UUID stuff is a way of referring to a specific partition regardless
of what physical device it's on --- this is vital when you're using SCSI
because the device name may change depending on the order in which the
disks power up. It's easy enough to cope with: instead of referring to
the partition as /dev/sdq5, you now refer to it as UUID=... where ... is
a long hex ID. vol_id will tell you the UUID of a partition. So once
you've found it, do:
vol_id /dev/sdq5
...and it'll list a bunch of info as to what the partition is:
ID_FS_USAGE=filesystem
ID_FS_TYPE=jfs
ID_FS_VERSION=
ID_FS_UUID=499d1dae-53d3-4b1b-bbbd-3c77df750fa9
ID_FS_UUID_ENC=499d1dae-53d3-4b1b-bbbd-3c77df750fa9
ID_FS_LABEL=
ID_FS_LABEL_ENC=
ID_FS_LABEL_SAFE=
Then just copy the UUID from ID_FS_UUID into your fstab, and Robert is
your mother's brother:
UUID=499d1dae-53d3-4b1b-bbbd-3c77df750fa9 / jfs defailts 0 0
--
David Given
dg at cowlark.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://sclug.org.uk/pipermail/sclug/attachments/20080426/ada10a68/attachment.bin
More information about the Sclug
mailing list