PDA

View Full Version : [ubuntu] [SOLVED] cant access other drives and partitions



confusedstingray
June 25th, 2008, 01:19 AM
installed hardy 8.04 and went fine everything works,
But i can not access the data on other drives and partions
all drives show up in gparted.

/dev/sda 149.05 partitioned in to 2
sda1 92.5 ntfs formated ;labeld as music can access!
sda2 56.5 ext3 formated (cant access this partition) lost & found folder only
attached screen capture (sda.png)

/dev/sdb 232.8 multi partitions
attached screen capture (sdb.png)

also on one drive had 7.10 installed

what a want to do is merge all excess partitions
any help would be great!!

iaculallad
June 25th, 2008, 01:24 AM
Post whatever displays when you issue the terminal commands below:


sudo fdisk -l
sudo blkid


Also, Do post your /etc/fstab file:


cat /etc/fstab

Gannon8
June 25th, 2008, 01:47 AM
To merge partitions, either backup all data from all the partitions you want to merge, delete them, make a new one from the space created, and restore the files, or move the data from the partitions you want to merge onto the partition with it's start point in the desired position, delete the now empty partitions, and resize the one with all your data to fill the empty space. (Defragment your drive first, though I am not sure how you do it with ext3 file systems.)
As for the swap partitions, just delete them both and make a new one; they do not hold permanent data.

Make sure you unmount the partition first by right clicking on it and selecting "Unmount" (or swapoff, for swap partitions). Also note that this will make any partitions with operating systems unbootable.

confusedstingray
June 25th, 2008, 03:17 PM
here is the output of the commands



Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe6f0196a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 12077 97008471 7 HPFS/NTFS
/dev/sda2 12078 19457 59279850 83 Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0c970c97

Device Boot Start End Blocks Id System
/dev/sdb1 1 9118 73240303+ 83 Linux
/dev/sdb2 9119 30401 170955697+ 5 Extended
/dev/sdb5 9119 18236 73240303+ 83 Linux
/dev/sdb6 18237 21052 22619488+ 83 Linux
/dev/sdb7 29787 30401 4939956 82 Linux swap / Solaris
/dev/sdb8 21053 29424 67248058+ 83 Linux
/dev/sdb9 29425 29786 2907733+ 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sde: 65 MB, 65536000 bytes
8 heads, 32 sectors/track, 500 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sde1 * 1 500 63972+ 1 FAT12

output of blkid
/dev/sda1: UUID="D6B093DBB093C083" LABEL="music" TYPE="ntfs"
/dev/sda2: UUID="a417a0fe-eda6-44e2-8b1e-ec8467325611" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb1: UUID="77191173-8a20-4a5a-80cb-4c30805ff9c0" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb5: UUID="8e1a5f5b-4527-4151-8739-25abb9246b9f" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb6: UUID="24aaa34e-0a29-450f-a00d-20738c5d1f43" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb7: TYPE="swap" UUID="1b2fbb23-2d9d-4007-8542-cac48c2a9f86"
/dev/sdb8: UUID="07394b1a-8a10-4951-8884-bf65af18bc9b" TYPE="ext3"
/dev/sdb9: TYPE="swap" UUID="9369c280-0d5b-4d54-8abf-de9e6e92ab6f"
/dev/sde1: SEC_TYPE="msdos" UUID="0000-0000" TYPE="vfat"

output of fstab
/etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sdb8 :
UUID=07394b1a-8a10-4951-8884-bf65af18bc9b / ext3 relatime,errors=remount-ro 0 1
# Entry for /dev/sdb9 :
UUID=9369c280-0d5b-4d54-8abf-de9e6e92ab6f none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0