LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2002, 04:41 PM   #1
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 15
ntloader in lilo...booting from secondary drive


Hello All,

It's been a while since I've been here...

I obtained yet another harddrive for my computer; this makes 3x60GB. I have a RAID controller on my mobo, which gives me the extra 2 IDE channels I need, though I don't use RAID.

I have 3 hard drives...hde, hdf, and hdg. hde is on primary master, hdf is primary slave, and hdg is secondary master.

I installed linux to hde (obviously because it is the most important), and windows to hdg. (hdf is just data). On hdg there is a 110 mb partition for DOS and ntloader. Ntloader runs excellent when i switch the drive to primary master, but when i switch it back to secondary master, lilo runs and doesn't know how to boot from hdg.

Is this possible? If so, what lines do I need to add to lilo to have it boot ntloader when 'DOS' is selected??

Thanks,
icy

Last edited by icyfire; 07-11-2002 at 03:30 PM.
 
Old 07-10-2002, 07:42 PM   #2
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Original Poster
Rep: Reputation: 15
ok i left out some stuff....please help.

well i did leave out a tidbit of information:

i DID try it already, and i DID read the HOW-TO....

i tried the following lines in lilo:

other=/dev/hdg1
label=dos
table=/dev/hdg

i even tried taking away the last line, but that did nothing. when lilo runs and i choose dos, it says "loading dos" and then stops.

can anyone help? thanks a lot!

icy
 
Old 07-10-2002, 09:45 PM   #3
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Maybe remapping the drives will work. Like this:

other=/dev/hdg1
label=dos
table=/dev/hdg
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80


Then run /sbin/lilo. If it doesn't work, try changing the 0x81 to 0x82.
 
Old 07-11-2002, 03:53 AM   #4
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Original Poster
Rep: Reputation: 15
i tried that again.

actually that was what mandrake put in there automatically and it didnt work.

im very puzzled. i do NOT want to switch the order of my drives because that means taking my computer completely apart. its not as easy as it sounds. the thing weighs 40 lbs....need i say more?
 
Old 07-11-2002, 04:11 AM   #5
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Are you sure that hdg1 is the correct partition? What does fdisk -l /dev/hdg list as the partitions on hdg?

<Edit> Maybe changing hdg1 to hdg in the "other=" line will get it to work.</Edit>

Last edited by linuxcool; 07-12-2002 at 06:08 AM.
 
Old 07-12-2002, 03:15 PM   #6
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Original Poster
Rep: Reputation: 15
Angry tried that too.

tried that too....heres my fdisk -l output:

Code:
Disk /dev/hdg: 255 heads, 63 sectors, 7473 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdg1   *         1        14    112423+   6  FAT16
/dev/hdg2            15       536   4192965    7  HPFS/NTFS
/dev/hdg3           537      7473  55721452+   f  Win95 Ext'd (LBA)
/dev/hdg5           537      1939  11269566    b  Win95 FAT32
Hey why not give you my lilo.conf too?

Code:
boot=/dev/hde
map=/boot/map
install=/boot/boot.b
default=linux
keytable=/boot/us.klt
lba32
prompt
timeout=50
disk=/dev/hde bios=0x80
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
     label=linux
     root=/dev/hde1
     append=" hdb=ide-scsi devfs=mount quiet"
     vga=788
     read-only
image=/boot/vmlinuz
     label=linux-nonfb
     root=/dev/hde1
     append=" hdb=ide-scsi devfs=mount"
     read-only
image=/boot/vmlinuz
     label=failsafe
     root=/dev/hde1
     append=" hdb=ide-scsi devfs=mount failsafe"
     read-only
other=/dev/hdg1
     label=dos
     table=/dev/hdg
other=/dev/fd0
     label=floppy
     unsafe
see if that helps. thanks again linuxcool, or anyone else who might know.

icy
 
Old 07-12-2002, 07:44 PM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Ok. I see that you have this line:

disk=/dev/hde bios=0x80

This tells which bios number to associate with which drive. Let's add this line under it:

disk=/dev/hdg bios=0x82

Then try this:

other=/dev/hdg1
label=dos
table=/dev/hdg
map-drive=0x80
to=0x82
map-drive=0x82
to=0x80

If that doesn't work, change hdg1 to hdg.

Don't forget to run /sbin/lilo after each change. Good luck.

Last edited by linuxcool; 07-12-2002 at 08:39 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
booting from secondary slave sharad durgawad Linux - Enterprise 2 03-18-2006 12:47 PM
Strange problem with lilo and booting other Hard Drive BajaNick Linux - General 5 01-15-2005 11:43 AM
lilo not booting my SATA winxp drive thrice Slackware 5 10-15-2004 02:02 AM
dual-booting red hat 7.2 and windows 2000 professional using NTLOADER nixdisciple Linux - Newbie 2 02-07-2002 09:20 AM
want to add lilo option to ntloader onlyhuman9 Linux - Software 1 09-21-2001 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 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
Open Source Consulting | Domain Registration