LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to hit a hard drive from a boot cd (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-hit-a-hard-drive-from-a-boot-cd-161384/)

bosewicht 03-23-2004 10:59 AM

how to hit a hard drive from a boot cd
 
I am wondering if anyone knows how to hit a hard drive from a boot cd such as play music and open files, etc from a morphix cd..... thanks

muah 03-23-2004 11:11 AM

You mean u want to mount your hard drive partition?
Then try 'man mount'

Basic syntax will be something like 'mount -o ro /dev/hda1 /mnt/hd' if u want to mount 1st partition on primary master hard drive. 'ro' stands for read only - u can use 'rw' instead but never try it on NTFS partition (unless u want to wipe your data -> always mount your NTFS as read only)

If u r not sure which device your hard drive is try 'fdisk -l' to get a list of all available ones.

PS: u need to be root to be able to run both mount and fdisk

Edit: And plz note that the directory u want to mount hard drive to (in our case '/mnt/hd') must exist.

bosewicht 03-23-2004 11:14 AM

i figured it was something like /dev/hda.


All times are GMT -5. The time now is 11:11 AM.