Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Unknown Linux Installation, Need to access a Linux disc
post Dec 28 2003, 04:16 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 28-December 03
Member No.: 2,031

I need to access a hard drive which is 100% Linux, probably Debian. I will put the disc in as the second hard drive in a WINXP machine. How can I boot into this Linux disc? I know very little about Linux but my company needs to know what is on that drive.

At present I cannot access the drive, except in WinXP administrative tools which shows that is Linux. How do I boot to it?
Go to the top of the page
+Quote Post
post Dec 29 2003, 08:42 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

You probably don't want to boot to it (....unless you put it back into the original machine, the boot is likely to fail {or the startup scripts change} if booted on machines with different equipment) ...

What I would do instead is boot a Linux CD that can mount it so you can see what is on it.

Knoppix is a bootable Linux CD system that is based on debian ... so it is likely that you can read the disk if you download and boot the latest Knoppix CD.

You would then open a terminal window and do this:

fdisk -l /dev/hdb (if it is the Primary slave) or fdisk -l /dev/hdd (if it is the secondary slave) or fdisk -l /dev/hdc (if it is the secondary master).

The output should look something like this:

Disk /dev/hdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1          17      136521   83  Linux
/dev/hdb2              18         267     2008125   82  Linux swap
/dev/hdb3             268        7297    56468475   83  Linux

If there is a small partition it is probably /boot (where the kernel is) you can look at this later (in my example it is /dev/hdb1 {which is partition 1 on primary slave})... you don't have to worry about the swap partition at all .... if there is only one large partition (as in my example) then it is more than likely the root partition ... where all the stuff is likely at.

Once you know the partition, you need to create a mount point (some place you are going to mount the drive so you can look at it) ... I would use /mnt/debian do this in the terminal window:

mkdir /mnt/debian

Now you can mount the drive and see what it contains with this command:

mount /dev/hdb3 /mnt/debian

(I used the example {/dev/hdb3} in my command, you should use what you determined to be the root directory from your fdisk commands)

If the mount command works without any errors, you should be able to browse the drive using konqueror from start menu of knoppix (go to /mnt/debian - everything under that is the drive). If you have errors in mounting, you may need to specify the filesystem on the root partition...but the standard ones should be detected when trying to mount (reiserfs, ext2, ext3 and maybe xfs).

Here is a good link for recovering data with knoppix. Here is the knoppix FAQ.

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post
post Dec 31 2003, 09:23 AM
Post #3

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 28-December 03
Member No.: 2,031

Thanks! I'll try what you suggest. I did manage to boot onto the drive but got "permission denied" messages when I tried to read it. Hopefully your system will work

Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th July 2018 - 04:51 AM