LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mount a Haddrive nd partition (https://www.linuxquestions.org/questions/linux-newbie-8/mount-a-haddrive-nd-partition-372847/)

Colinux_Tlinux_noob 10-13-2005 10:11 PM

Mount a Haddrive and its 2nd partition
 
how do i mount a hard drive G:

i put this is in my defualt.xml
<block_device index="5" path="\Device\G:\" enabled="true" />


mount /mnt/cobd5 mnt/harddrive

gives error mount point does not exist
confused

Thanks...:study:

routers 10-13-2005 10:53 PM

Re: Mount a Haddrive and its 2nd partition
 
Quote:

Originally posted by Colinux_Tlinux_noob
how do i mount a hard drive G:

------- looks like alien to me what is where is defualt.xml and for what

i put this is in my defualt.xml
<block_device index="5" path="\Device\G:\" enabled="true" />

----- how come mount to the mount point

mount /mnt/cobd5 mnt/harddrive

gives error mount point does not exist

------ ls /mnt . there u can see exist or not

confused

------ u also confused me :)


Thanks...:study:


Colinux_Tlinux_noob 10-13-2005 11:01 PM

I am running Colinux, that uses a file default.config.xml to load devices and network stuff at startup.

I am running Topologilinux on Colinux in a window on win2k.

I can run Toplogilinux (Real-mode) from bootmenu or win2k.

After I type "HALT" in TLINUX "Real-mode" (not in Colinux) its says "flushing IDE devices hda hdb hdc "

So how do i mount and access them ?? i dont know the command plz help somebody:p

routers 10-14-2005 12:57 AM

if u already inside real linux use root eg

[rou@net ~]$ su -
Password:
[root@net ~]# /sbin/fdisk -l

the result will show u all the drive and file system

eg,

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1106 8883913+ 83 Linux

so there u know sdb1 is linux system or whaver it state there

so the way to mount is the following

mkdir /mnt/sdb-mount
mount /dev/sdb1 /mnt/sdb-mount

==explain here = my drive is scsi so name is sd* so what is ur disk follow it from /sbin/fdisk -l
mkdir /mnt/sdb-mount <-- this is to create directory where u want to mount it
mount /dev/sdb1 /mnt/sdb-mount <- this is the function to mount to the target folder

so after that too see is there mounted or not proceed command

df -h

good luck


All times are GMT -5. The time now is 03:05 PM.