LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2004, 08:40 AM   #1
godsdog
LQ Newbie
 
Registered: May 2004
Posts: 29

Rep: Reputation: 15
accessing a sick hard disk


Hi all,
I'm troubleshooting my dual boot machine (Mdk and Win2k) it had been running windows for some time until I was able to get Realplayer streaming under Linux.
So I went to boot back into the linux disk (hdd) but it ended with the infamous "no init found" message.
I don't understand how the partition table would have changed - no hardware changes were made - but it won't boot

I've found lots of people with the problem, though not exactly the same as mine.

What I'd like to know is what command do I need to issue in order to access /hdd from a rescue disk... like knoppix or pclinux OS.... and once I get in what files do I need to look at? I have another mandrake installation I can use to compare, I'm just not sure what I'm looking for.

Any hints would be much appreciated
gd
 
Old 07-13-2004, 09:22 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
if this is a problem with the bootloader, you may want to boot from a rescue disk and repair the bootloader (if you don't know how, just ask ) if it's a problem with the partition itself you have a bigger problem I don't know about (yet)...

greetz,
.-=~ iluvatar ~=-.
 
Old 07-13-2004, 09:29 AM   #3
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
godsdog; this may or not help however try n way,http://tldp.org/HOWTO/Partition/Installation in detail etc. ,word of advise expand every thing to get every detail. about 25 pages or so. it is thorough.
 
Old 07-13-2004, 09:38 AM   #4
godsdog
LQ Newbie
 
Registered: May 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by penguin4
godsdog; this may or not help however try n way,http://tldp.org/HOWTO/Partition/Installation in detail etc. ,word of advise expand every thing to get every detail. about 25 pages or so. it is thorough.

The link returns this:

The document or page you requested could not be found. Here are some pages on the Linux Documentation Project site that may help you:

The links to HOWTOs on this page gives Partitioning and partition rescue.... did you mean one of these?

http://tldp.org/HOWTO/Partition/index.html

or

http://tldp.org/HOWTO/Partition-Rescue/index.html

gd
 
Old 07-13-2004, 09:40 AM   #5
godsdog
LQ Newbie
 
Registered: May 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by iluvatar
if this is a problem with the bootloader, you may want to boot from a rescue disk and repair the bootloader (if you don't know how, just ask ) if it's a problem with the partition itself you have a bigger problem I don't know about (yet)...

greetz,
.-=~ iluvatar ~=-.
LILO allows me to choose the LInux install - just won't boot.... this means LILO's ok, no?

gd
 
Old 07-13-2004, 09:49 AM   #6
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
well there could be a small problem with the root partition setup in your lilo.conf, however if you didn't change this file and it worked before it should be all ok... if you can access your /etc/lilo.conf file by using a rescue disc you can post the contents of this file and your partition setup, so we can really make sure lilo is ok.

greetz,
.-=~ iluvatar ~=-.
 
Old 07-13-2004, 10:00 AM   #7
godsdog
LQ Newbie
 
Registered: May 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by iluvatar
well there could be a small problem with the root partition setup in your lilo.conf, however if you didn't change this file and it worked before it should be all ok...

I guess rerunning lilo won't harm anything....


Quote:
if you can access your /etc/lilo.conf file by using a rescue disc you can post the contents of this file and your partition setup, so we can really make sure lilo is ok.

greetz,
.-=~ iluvatar ~=-.

I think this is where I'm stuck/confused - the rescue disc is /hdb but the hard drive in question is /hdd....vi /etc/lilo.conf will just get me to hdb's lilo.conf, yes?

gd
 
Old 07-13-2004, 10:05 AM   #8
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
that's right but you can try to mount the /hdd from within the rescue system to check the settings
if the mount doesn't work, something more complicated is wrong...

greetz,
.-=~ iluvatar ~=-.
 
Old 07-13-2004, 10:20 AM   #9
godsdog
LQ Newbie
 
Registered: May 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by iluvatar
that's right but you can try to mount the /hdd from within the rescue system to check the settings
if the mount doesn't work, something more complicated is wrong...

greetz,
.-=~ iluvatar ~=-.
Well.... this is the problem... I tried cd /mnt then mount /dev/hdd, but it tells me it can't find /dev/ide/host0/bus1/target1/lun0/disc in /etc/fstab or /etc/mtab

Host0 is the primary IDE controller is it not, while hdd is the secondary slave?

isn't it looking at fstab on the RAMdisk for a hard disk that isn't there?

Sorry, I'm still a bit command line challenged.

gd

Last edited by godsdog; 07-13-2004 at 10:21 AM.
 
Old 07-14-2004, 01:52 AM   #10
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
could it be that /dev/hdd is a symlink to /dev/ide/host0/bus1/target1/lun0/disc ? in that case it tries to mount the wrong /dev/ide/host0/bus1/target1/lun0/disc wich isn't there. Or you have some kind of scsi / raid system? in that case the devices in /dev are somewhat different than /dev/hdx I guess (don't know for sure, I don't have it). try "ls -al /dev/hdd" to check if it's a symlink to some other device. If so, check somehow if this is correct for your harddrive... don't know how, I'm not very well known with the /dev dir and devices...

greetz & success,
.-=~ iluvatar ~=-.
 
Old 07-14-2004, 09:39 AM   #11
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
godsdog; try reading the raid section , & from the hardware sections harddisks and scsi in depth(extended) http://tldp.org/HOWTO/HOWTO-INDEX table of contents 4.1.9 RAID, hardware 4.3.11 harddisks and 4.3.17
scsi. these may help point in right direction.
 
Old 07-14-2004, 09:42 AM   #12
godsdog
LQ Newbie
 
Registered: May 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Ummm.... ok I'll take a look but there's no RAID or SCSI - except fpr the module that was originally installed when I had a SCSI controller in the machine - it's not in there now.

edit:

Hmmm... could that hve anything to do with the error? The SCSI controller being removed?
The controller was used for an external CD R/RW.

Last edited by godsdog; 07-14-2004 at 09:49 AM.
 
Old 07-14-2004, 09:49 AM   #13
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
godsdog; that was just a pointer to lead maybe solution and help. hope it works for you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
What's accessing the hard disk? rosslaird Linux - Software 10 10-07-2003 10:33 AM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM
Accessing a second hard disk martinpanda Linux - General 9 03-11-2002 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration