WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Mount Hard Drive  (Read 5690 times)

Offline newbean

  • Newbie
  • *
  • Posts: 24
Mount Hard Drive
« on: June 24, 2010, 01:07:15 PM »
6/24/1010

   How do I get Tiny Core to recognize my Hard Drive?

   mount /dev/hda1 /mnt/hda1   doesn't work

   It seems (but, I may be wrong) that /mnt/hda1 is points to the RamDrive

   fdisk -l  shows my 250G hard drive as /dev/hda1

   I'm just a newbie trying to sort it out.  I'd like to use Tiny Core as an emergency live Boot-Disk.

   Thanks
   newbean

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Mount Hard Drive
« Reply #1 on: June 24, 2010, 02:41:15 PM »
What's on your disk? Please post the output of "fdisk -l".
The only barriers that can stop you are the ones you create yourself.

Offline jano

  • Newbie
  • *
  • Posts: 37
Re: Mount Hard Drive
« Reply #2 on: June 24, 2010, 03:04:10 PM »
Two obvious questions you surely are aware but, just in case:
1) did you try to mount the disk as root ?
2) is your disk NTFS? if so, you need the ntfs-3g driver ...

Offline newbean

  • Newbie
  • *
  • Posts: 24
Re: Mount Hard Drive
« Reply #3 on: June 26, 2010, 12:31:06 PM »
tc@box:~$ sudo fdisk -l

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

   Device Boot      Start         End      Blocks  Id System
/dev/hda1   *           1       29651   238171626  83 Linux
/dev/hda2           29652       30401     6024375   5 Extended
/dev/hda5           29652       30401     6024343+ 82 Linux swap
tc@box:~$

Offline newbean

  • Newbie
  • *
  • Posts: 24
Re: Mount Hard Drive
« Reply #4 on: June 26, 2010, 12:42:47 PM »
To Jano:
1) Yes,  I tried to mount it as root
2) I've got Ubuntu 10.04 w/ ext4 file system, on my hard-drive.

tc@box:/home$ cd /mnt
tc@box:/mnt$ ll
total 0
drwxr-xr-x    2 root     root            40 Jun 26 16:06 hda1/
drwxr-xr-x    2 root     root            40 Jun 26 16:06 hdc/
tc@box:/mnt$ cd hda1
tc@box:/mnt/hda1$ ll
total 0

tc@box:/mnt/hda1$ cd /
tc@box:/$ ll
total 4
drwxr-xr-x    2 root     root          1380 Jun 26 16:06 bin/
drwxr-xr-x   12 root     root          9500 Jun 26 16:06 dev/
drwxr-xr-x    9 root     root           740 Jun 26 16:09 etc/
drwxr-xr-x    3 root     root            60 Jun 26 16:06 home/
-rwxr-xr-x    1 root     root           305 Mar  4 23:35 init
drwxr-xr-x    4 root     root           940 Jun 26 16:06 lib/
drwxr-xr-x    4 root     root            80 Jun 26 16:06 mnt/
drwxrwsr-x    3 root     staff          220 Jun 26 16:23 opt/
dr-xr-xr-x   72 root     root             0 Jun 26 16:06 proc/
drwxr-xr-x    2 root     root            80 Jun 26 16:06 root/
drwxr-xr-x    2 root     root          1060 Jun 26 16:06 sbin/
drwxr-xr-x   12 root     root             0 Jun 26 16:06 sys/
drwxrwxrwt    5 root     root           180 Jun 26 16:28 tmp/
drwxr-sr-x    7 root     root           140 Jul 23  2009 usr/
drwxr-xr-x    8 root     root           180 Jun 26 16:06 var/

tc@box:/$ ll /home
total 0
drwxr-sr-x    8 tc       staff          320 Jun 26 16:23 tc/
tc@box:/$

#########################
I don't know.
/mnt/hda1 seems to point to the RamDrive and not the hard-drive.
Any ideas?

Thanks newbean

Offline combo3

  • Full Member
  • ***
  • Posts: 148
Re: Mount Hard Drive
« Reply #5 on: June 26, 2010, 01:07:43 PM »
2) I've got Ubuntu 10.04 w/ ext4 file system, on my hard-drive.

Tinycore 2.x doesn't support ext4 out of the box.

You'll need to install filesytems-2.6.29.1.tinycore.tcz first.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Mount Hard Drive
« Reply #6 on: June 26, 2010, 01:14:07 PM »
Better to use TC 3.0 Alpha. Ext4 in 2.6.29 Kernel is not matured. TC 3.0 supports ext4 by default, no need for additional extension.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline newbean

  • Newbie
  • *
  • Posts: 24
Re: Mount Hard Drive
« Reply #7 on: June 26, 2010, 02:34:09 PM »
I burned a copy of "Tiny Core Alpha 3", booted it and mounted my hard-drive using:
   sudo mount -t ext4 /dev/hda1 /mnt/hda1

And it worked GREAT!

At the prompt, I typed:    Cdrive=/mnt/hda1/
and now I can just refer to mmmmmy environmental variable $Cdrive to open run around in my master hard-drive.

cd $Cdrive

And I'm there

Thank you, Thank you, Thank you
newbean

Offline newbean

  • Newbie
  • *
  • Posts: 24
Re: Mount Hard Drive
« Reply #8 on: June 26, 2010, 02:36:17 PM »
P.S.
I like the new background. 
Teal is a refreshing color.