Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: newbean 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
-
What's on your disk? Please post the output of "fdisk -l".
-
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 ...
-
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:~$
-
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
-
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.
-
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.
-
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
-
P.S.
I like the new background.
Teal is a refreshing color.