LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-16-2004, 09:53 AM   #1
robhargreaves
Member
 
Registered: Dec 2003
Location: UK
Distribution: Slackware
Posts: 87

Rep: Reputation: 15
HD Prober? Is there one?


hi all,

Whilst using lilo to boot in linux I have got two hard disks. The second largest of the two holds my windows xp pro setup. LILO is on the MBRecord and I need to find a program that will probe the hard disk from linux to allow me to see what sector the boot loader is at on the second disk. I can then reference this in lilo.conf which is obviously pointing to the wrong place at the moment as I get NTLDR missing which is essentially "Cannot find the boot loader".

Any help much appreciated as I have to keep walking down to the library to use the internet as I can only access the internet through xp at the moment!!

Rob
 
Old 01-16-2004, 09:58 AM   #2
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Did you install LILO to the MBR of the second hard disks, and then point NTLDR to the second hard disk?
 
Old 01-16-2004, 10:16 AM   #3
robhargreaves
Member
 
Registered: Dec 2003
Location: UK
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 15
not sure this is what I have got from lilo -tgeom

BIOS reports 2 hd's

bios=0x80, cyl=1023, heads=255, sectors=63 vol -id 10EFA5F8
(60.02gb 117,231,408 sectors) LBA32 Supported (EDD Bios)

bios=0x81, cyl=1023, heads=255, sectors=63 vol -id 003D003D
(20.02gb 39,102,336 sectors) LBA32 Supported (EDD Bios)
 
Old 01-16-2004, 10:17 AM   #4
robhargreaves
Member
 
Registered: Dec 2003
Location: UK
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 15
hold on theres more It will just take a few minutes to type it!!!!
 
Old 01-16-2004, 10:24 AM   #5
robhargreaves
Member
 
Registered: Dec 2003
Location: UK
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 15
I also get the o/p =

Added Linux *

<dev=0xe1,hd=254,cyl=104,sct=74>
"ro root=341 ramdisk=0 hdc=ide-scsi hdd=ide-scsi"

it then goes on to check options: " "

also a snippet just below saying Boot other: /dev/hda1, on /dev/hda, loader CHAIN

if you think there will be anything else relevant from under there then I will type it also.

the next bit I think you will need to know to answer the question is -

Added XP

<dev=0xe1,hd=254,cyl=104,sct=103>

it says that the boot file and the map file have *NOT* been altered.

This says to me by the device reference that I have got lilo looking to the same device for the boot loader 0xe1. it also is saying that it should go to sector 103 on the same disk for the boot loader for XP.

Can you shed any light on this??
 
Old 01-16-2004, 10:31 AM   #6
robhargreaves
Member
 
Registered: Dec 2003
Location: UK
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 15
I have just noticed some info saying

bios_dev: device=301
lookup_dev: number=300

Sorry not quite formatted like that but I think you will get the jist because corresponding to that at the bottom of the print out is a small table -

BIOS VOL ID DEVICE
80 10EFA5F8 300
81 003D003D 340

I can safely say that I have the xp on the 60gb drive and linux on the 20gb one

I live on the A64 as well btw. in York if thats what you mean at the side with your name.

If you do its nice to see someone in the forum.

Thanks again

Rob
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:58 PM.

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
Open Source Consulting | Domain Registration