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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-10-2002, 05:41 PM
|
#1
|
Member
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110
Rep:
|
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 04:30 PM.
|
|
|
07-10-2002, 08:42 PM
|
#2
|
Member
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110
Original Poster
Rep:
|
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
|
|
|
07-10-2002, 10:45 PM
|
#3
|
LQ Addict
Registered: Jun 2001
Posts: 1,183
Rep:
|
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.
|
|
|
07-11-2002, 04:53 AM
|
#4
|
Member
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110
Original Poster
Rep:
|
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?
|
|
|
07-11-2002, 05:11 AM
|
#5
|
LQ Addict
Registered: Jun 2001
Posts: 1,183
Rep:
|
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 07:08 AM.
|
|
|
07-12-2002, 04:15 PM
|
#6
|
Member
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110
Original Poster
Rep:
|
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
|
|
|
07-12-2002, 08:44 PM
|
#7
|
LQ Addict
Registered: Jun 2001
Posts: 1,183
Rep:
|
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 09:39 PM.
|
|
|
All times are GMT -5. The time now is 06:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|