LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to get another hard drive to show in suse10.2 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-another-hard-drive-to-show-in-suse10-2-a-550333/)

junglistno1 05-01-2007 05:14 AM

how to get another hard drive to show in suse10.2
 
i recentlcy' set up suse on a dual boot with windows but i got an old hard drive with some files i want off it, i cant work out how to get it to show on my linix sytem any one got any ideas

stealth_banana 05-01-2007 05:46 AM

How is this old hard drive connected?

pixellany 05-01-2007 06:53 AM

Assuming that the drive is installed in the computer, SUSE may see it automatically. Look in /mnt or /media to see if a mount point has been set up.

"fdisk -l" to see how the computer is seeing the harddrives and partitions.

junglistno1 05-02-2007 06:17 AM

it shows this but wont in my copmyter

Disk /dev/hda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/hda2 * 263 2873 20972857+ 83 Linux
/dev/hda3 2874 24792 176064367+ 83 Linux

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6454 51841723+ 7 HPFS/NTFS
/dev/sda2 6455 30515 193269982+ f W95 Ext'd (LBA)
/dev/sda5 6455 6716 2104483+ 82 Linux swap / Solaris
/dev/sda6 6717 9327 20972826 83 Linux
/dev/sda7 9328 30515 170192578+ 83 Linux
linux-jb:/home/jb #

pixellany 05-02-2007 06:56 AM

OK--I assume that the "old disk" is hda (since sda has the Windows partition)

Did you check to see if SUSE automatically generated a mount point?

To mount it from scratch:
cd /mnt
mkdir part1
mount /dev/hda1 part1
cd part1
ls


similar procedure for the other partition

To have it mount automatically, add an entry to /etc/fstab See "man fstab" for details

junglistno1 05-02-2007 07:08 AM

ill give it a try now, i only need to get the the old home partition so ill see what happens thanx ill get back to you with results

junglistno1 05-02-2007 07:11 AM

jb@linux-jb:~> su
Password:
linux-jb:/home/jb # cd/mount
bash: cd/mount: No such file or directory
linux-jb:/home/jb # cd /mount
bash: cd: /mount: No such file or directory
linux-jb:/home/jb # cd /mnt
linux-jb:/mnt # mkdir part1
linux-jb:/mnt # mount /dev/hda3 part1
linux-jb:/mnt # cd part1
linux-jb:/mnt/part1 # is
bash: is: command not found
linux-jb:/mnt/part1 # ls
junglistno1 lost+found
linux-jb:/mnt/part1 #

i done this but nothing happened in my computer

pixellany 05-02-2007 08:52 PM

What do you mean "nothing happened"?

Your listing shows that you successfully mounted the partition hda1, got into it with cd, and did ls. I shows that you have one file or folder named "lost+found". Try ls -al to see EVERYTHING--including hidden files an verbose information.

Is it possible that what you are looking for is on hda2?

WHOA!!!!--i just noticed that hda1 is swap. You need to look on hda2 and hda3. sorry I missed this earlier.....


All times are GMT -5. The time now is 08:06 PM.