Hi,
Grab a copy of GParted bootable cd iso from here:
http://gparted-livecd.tuxfamily.org/
A nice GUI disk management tool.
Doug.
Results 21 to 30 of 31
-
2008-02-23, 11:54 #21Senior Member
- Join Date
- May 2006
- Location
- UK
- Posts
- 152
-
2008-02-23, 13:10 #22Junior Member
- Join Date
- Jan 2008
- Posts
- 23
anyone using ubuntu server edition?
As well as the gparted boot disk. You could also try
cfdisk /dev/hdd
I think cfdisk is a bit friendlier than fdisk
-----Original Message-----
From: fast eddie <fast.eddie.358xbc1203790802 (AT) no-mx (DOT) forums.slimdevices.com>
Date: Sat, 23 Feb 2008 10:16:18
To:unix (AT) lists (DOT) slimdevices.com
Subject: Re: [SlimDevices: Unix] anyone using ubuntu server edition?
I am having trouble getting the 2nd HDD mounted.
I have tried to format it and mount it following the directions here:
http://www.ulverston.myzen.co.uk/min.../harddrive.htm
but I get this error when I run sudo fdisk -l
[root@serverSB3server ~]# sudo fdisk -l
Disk /dev/hdc: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 10 80293+ 83 Linux
/dev/hdc2 11 75 522112+ 82 Linux swap
/dev/hdc3 76 36483 292447260 83 Linux
Disk /dev/hdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/hdd doesn't contain a valid partition table
Can someone explain what I am doing wrong and how I can get it to
work.
Thanks for your help
--
fast eddie
------------------------------------------------------------------------
fast eddie's Profile: http://forums.slimdevices.com/member.php?userid=7826
View this thread: http://forums.slimdevices.com/showthread.php?t=42989
-
2008-02-23, 15:14 #23
Thanks for the suggestions. Before I do that would it be easier and better to start again by re-installing CC? Would it automatically pick up the fact that there are 2 HDD and format/partition them automatically? If I did re-install would it make one big partition of 750Gish (or whatever it is that a 250G and a 500G HDD would be)
I have only put a small amount of music on there to make sure that it was working so it would not be a real pain if that was the easiest thing to do.Last edited by fast eddie; 2008-02-23 at 15:30.
-
2008-02-23, 15:47 #24Senior Member
- Join Date
- Sep 2006
- Location
- Danmark
- Posts
- 1,307
This is no error, if the disk is brand new its not formatted and so there is no partition table. Just do 'sudo fdisk /dev/hdd' or 'sudo cfdisk /dev/hdd' if you preffer. Create the partitions, and do 'sudo mkfs -t ext3 /dev/hdd1'. Note ext3 is the filesystem type and you may have other preferences, hdd1 is the partition you made with fdisk.
b.
-
2008-02-24, 01:00 #25
I have just done what you suggested and I am still getting the message: Disk /dev/hdd doesn't contain a valid partition table
When I look in etc/mnt it is showing that HDD is there.
Am I doing something wrong or is it working and I just dont know it because my Linux knowledge is very small?
Is there a command that will tell me what the sizes are of the mounted partitions?
Sorry to be a pain,
I think I have sussed it:
Is this what it should look like if it is mounted correctly after the command: sudo fdisk -l
[root@serverSB3server ~]# sudo fdisk -l
Disk /dev/hdc: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 10 80293+ 83 Linux
/dev/hdc2 11 75 522112+ 82 Linux swap
/dev/hdc3 76 36483 292447260 83 Linux
Disk /dev/hdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 1 60801 488384001 83 Linux
[root@serverSB3server ~]#Last edited by fast eddie; 2008-02-24 at 01:32. Reason: may have done it !
-
2008-02-24, 04:49 #26Senior Member
- Join Date
- Sep 2006
- Location
- Danmark
- Posts
- 1,307
-
2008-02-24, 05:26 #27
it appears to, just need to figure out how to make a symlink so I can have a shortcut from the directory on the 1st HD to the 2nd HD as I have more music than will fit on the 1st HD.
Any ideas would be greatly appreciated.
I have found this command but a bit confused as to what the paths are for the command: ln -s /media/MY_OTHER_DISK/Music /home/my_home/Music/from_other_disk
on the 1st HD the files are stored here: /media/SB3 Files and the 2nd HD I have mounted it here /mnt/HardDrive/SB3 Files cont
Bit confused as to which path goes where in the above command line
Hopefully that makes sense
Is there a command I can use to show how much free space there is on each of the drives as well?
Thanks for the help - it is very much appreciated,
Graham
-
2008-02-24, 05:36 #28Senior Member
- Join Date
- Sep 2006
- Location
- Danmark
- Posts
- 1,307
-
2008-02-24, 06:19 #29
That didnt seem to work saying no such file or directory
[root@serverSB3server ~]# ln -s /media/SB3\ Files /mnt/HardDrive/SB3\ Files\ cont/HD1
ln: creating symbolic link `/mnt/HardDrive/SB3 Files cont/HD1' to `/media/SB3 Files': No such file or directory
[root@serverSB3server ~]# ln -s /media/SB3\ Files /mnt/HardDrive/SB3\ Files\ cont/HD1
ln: creating symbolic link `/mnt/HardDrive/SB3 Files cont/HD1' to `/media/SB3 Files': No such file or directory
[root@serverSB3server ~]# ln -s /media/SB3\ Files /mnt/HardDrive/SB3\ Files\ cont/HDd1
ln: creating symbolic link `/mnt/HardDrive/SB3 Files cont/HDd1' to `/media/SB3 Files': No such file or directory
and when I do df it doesnt show the 500G hdd1 partition:
[root@serverSB3server ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdc3 287781685 158601951 114557371 59% /
/dev/hdc1 78999 7604 67381 11% /boot
none 253440 0 253440 0% /dev/shm
[root@serverSB3server ~]#
Now I am completely confusedLast edited by fast eddie; 2008-02-24 at 06:30.
-
2008-02-25, 11:54 #30Senior Member
- Join Date
- Sep 2006
- Location
- Danmark
- Posts
- 1,307

Reply With Quote

