Please help new hard drive install

Knapp magick.crow at gmail.com
Thu Dec 18 11:56:42 UTC 2008


>
> blkid command will display the UUID of all your partitions.
>

Am I using blkid wrong?

douglas at frog:/dev/disk/by-uuid$ ls -al /dev/disk/by-uuid/
total 0
drwxr-xr-x 2 root root 140 2008-12-18 11:52 .
drwxr-xr-x 5 root root 100 2008-12-18 11:52 ..
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
4f9b82bd-3d8c-46c8-950a-4a8acc86df87 -> ../../sda6
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
578be745-0d4a-413c-8de2-48e0aa6cd074 -> ../../sda8
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
6d02b2c5-6b57-44ed-89f0-141afc6ca8de -> ../../sda7
lrwxrwxrwx 1 root root  10 2008-12-18 11:52 79B2-0C4E -> ../../sda5
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
c09b82be-5b95-4195-88f2-b84b0a4f2627 -> ../../sdb5
douglas at frog:/dev/disk/by-uuid$ ls -al /dev/disk/by-id/
total 0
drwxr-xr-x 2 root root 500 2008-12-18 11:52 .
drwxr-xr-x 5 root root 100 2008-12-18 11:52 ..
lrwxrwxrwx 1 root root   9 2008-12-18 11:52
ata-SAMSUNG_HD160JJ_S08HJ1LL436970 -> ../../sda
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD160JJ_S08HJ1LL436970-part3 -> ../../sda3
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD160JJ_S08HJ1LL436970-part5 -> ../../sda5
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD160JJ_S08HJ1LL436970-part6 -> ../../sda6
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD160JJ_S08HJ1LL436970-part7 -> ../../sda7
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD160JJ_S08HJ1LL436970-part8 -> ../../sda8
lrwxrwxrwx 1 root root   9 2008-12-18 11:52
ata-SAMSUNG_HD753LJ_S13UJ1BQ808791 -> ../../sdb
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD753LJ_S13UJ1BQ808791-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD753LJ_S13UJ1BQ808791-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD753LJ_S13UJ1BQ808791-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
ata-SAMSUNG_HD753LJ_S13UJ1BQ808791-part7 -> ../../sdb7
lrwxrwxrwx 1 root root   9 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD160JJ_S08HJ1LL436970 -> ../../sda
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD160JJ_S08HJ1LL436970-part3 -> ../../sda3
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD160JJ_S08HJ1LL436970-part5 -> ../../sda5
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD160JJ_S08HJ1LL436970-part6 -> ../../sda6
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD160JJ_S08HJ1LL436970-part7 -> ../../sda7
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD160JJ_S08HJ1LL436970-part8 -> ../../sda8
lrwxrwxrwx 1 root root   9 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD753LJ_S13UJ1BQ808791 -> ../../sdb
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD753LJ_S13UJ1BQ808791-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD753LJ_S13UJ1BQ808791-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD753LJ_S13UJ1BQ808791-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
scsi-1ATA_SAMSUNG_HD753LJ_S13UJ1BQ808791-part7 -> ../../sdb7
lrwxrwxrwx 1 root root   9 2008-12-18 11:52 usb-eUSB_Compact_Flash-0:0 ->
../../sdc
douglas at frog:/dev/disk/by-uuid$ ls -al /dev/disk/by-
by-id/   by-path/ by-uuid/
douglas at frog:/dev/disk/by-uuid$ ls -al /dev/disk/by-path/
total 0
drwxr-xr-x 2 root root 300 2008-12-18 11:52 .
drwxr-xr-x 5 root root 100 2008-12-18 11:52 ..
lrwxrwxrwx 1 root root   9 2008-12-18 11:52
pci-0000:00:02.0-usb-0:2:1.0-scsi-0:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root  10 2008-12-18 11:52 pci-0000:00:04.0-scsi-0:0:0:0 ->
../../scd0
lrwxrwxrwx 1 root root   9 2008-12-18 11:52 pci-0000:00:05.0-scsi-0:0:0:0 ->
../../sda
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.0-scsi-0:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.0-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.0-scsi-0:0:0:0-part6 -> ../../sda6
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.0-scsi-0:0:0:0-part7 -> ../../sda7
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.0-scsi-0:0:0:0-part8 -> ../../sda8
lrwxrwxrwx 1 root root   9 2008-12-18 11:52 pci-0000:00:05.1-scsi-1:0:0:0 ->
../../sdb
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.1-scsi-1:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.1-scsi-1:0:0:0-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.1-scsi-1:0:0:0-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  10 2008-12-18 11:52
pci-0000:00:05.1-scsi-1:0:0:0-part7 -> ../../sdb7
douglas at frog:/dev/disk/by-uuid$ blkid /dev/sd*
douglas at frog:/dev/disk/by-uuid$ sudo blkid /dev/sd*
[sudo] password for douglas:
/dev/sda5: UUID="79B2-0C4E" TYPE="vfat"
/dev/sda6: UUID="4f9b82bd-3d8c-46c8-950a-4a8acc86df87" SEC_TYPE="ext2"
TYPE="ext3"
/dev/sda7: UUID="6d02b2c5-6b57-44ed-89f0-141afc6ca8de" SEC_TYPE="ext2"
TYPE="ext3"
/dev/sda8: TYPE="swap" UUID="578be745-0d4a-413c-8de2-48e0aa6cd074"
/dev/sdb5: TYPE="swap" UUID="c09b82be-5b95-4195-88f2-b84b0a4f2627"
/dev/sdb6: UUID="6d02b2c5-6b57-44ed-89f0-141afc6ca8de" SEC_TYPE="ext2"
TYPE="ext3"
/dev/sdb7: UUID="4f9b82bd-3d8c-46c8-950a-4a8acc86df87" SEC_TYPE="ext2"
TYPE="ext3"





I still don't know what to put in my fstab file. Here is the current file.


# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0

# /dev/sda7 was this but changed with new drive 11-12-08 by DEK
UUID=6d02b2c5-6b57-44ed-89f0-141afc6ca8de /               ext3
defaults,errors=remount-ro 0       1

# /dev/sdb6 root
# ID=scsi-1ATA_SAMSUNG_HD753LJ_S13UJ1BQ808791-part6 /         ext3
defaults,errors=remount-ro 0       1

# /dev/sda6
#UUID=4f9b82bd-3d8c-46c8-950a-4a8acc86df87 /home           ext3
defaults        0       2
# /dev/sdb7 home New one
UUID=4f9b82bd-3d8c-46c8-950a-4a8acc86df87 /home           ext3
defaults        0       2


# /dev/sda5
UUID=79B2-0C4E  /windows        vfat    defaults,utf8,umask=007,gid=46
0       1

# /dev/sda8
UUID=578be745-0d4a-413c-8de2-48e0aa6cd074 none            swap
pri=5,sw          0       0

# auto by HAL I hope 1-9-2008 DEK /dev/hda        /media/cdrom0
udf,iso9660 user,noauto,exec 0       0
# /dev/sdb5
UUID=c09b82be-5b95-4195-88f2-b84b0a4f2627 none            swap
pri=5,sw         0       0

Thanks!
-- 
Douglas E Knapp

Amazon Gift Cards; let them choose!!
http://www.amazon.com/gp/product/B001078FFE?ie=UTF8&tag=seattlebujinkand&linkCode=as2&camp=1789&creative=9325&creativeASIN=B001078FFE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081218/339f8662/attachment.html>


More information about the ubuntu-users mailing list