LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-20-2001, 09:31 AM   #1
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Rep: Reputation: 30
Do not want lilo in my MBR, want to use System Commander to boot


I have a dual boot box, W98 and Linux V7.1
I do not want lilo in my MBR. Instead, I want the System Commander boot loader there, so I can boot either windows or linux or System Commander. I cannot, at this time add a linux selection to my System Commander Boot Selection Menu that works. I keep getting messages telling me that I have an invalid MBR.

Here is my lilo.conf:

boot=/dev/hde
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.2-2
label=linux
read-only
root=/dev/hde5
append="hdd=ide-scsi"

other=/dev/hde1
optional
label=dos

I think that, in order to be able to boot linux from my System Commander Boot Selection Menu, that I have to change something in lilo.conf to cause lilo to go into my "root superblock:, however, I am not sure what the "root superblock" is. Also, I have recompiled my Kernel and am calling my new kernel "mykernel" as opposed to the old one, "vmlinuz".

Here is my HD setup:[list=1][*]hde1 is Windows[*]hde2 was created automatically at the very start of my HD, and is where the lilo bootstuff is. [*]hde3 is another windows partion[*]hde5 is linux regular stuff (programs and data)[*]hdf1 is linux swap (don't ask me why, linux put the swap partition on hdf to my amazement).[/list=1]

So as not to make too much work for anyone who wants to help me with this, I understand that, in order to boot into "mykernel", I have to change the "default" entry, and add another stanza reflecting the stuff related to "mykernel".

So, my questions are:[list=1][*]What do I change in my lilo.conf to make lilo install to my "root superblock:"?[*]Do I have to toggle anything to get System Commander to start linux?[/list=1]

Thanks
 
Old 09-21-2001, 12:05 AM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You can install lilo into the boot sector of the root partition by changing the line boot=/dev/hde to boot=/dev/hde5 . As for your new kernel, you can add an entry for it and keep your old kernel in case something happens. Your lilo.conf would look like this:


boot=/dev/hde5
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/mykernel
label=linux
read-only
root=/dev/hde5
append="hdd=ide-scsi"


image=/boot/vmlinuz-2.4.2-2
label=linuxold
read-only
root=/dev/hde5
append="hdd=ide-scsi"

other=/dev/hde1
optional
label=dos

After making any changes, don't forget to rerun lilo.

As for System Commander, it may not see linux when you boot up. You'll have to tell it that it's there.
 
Old 09-21-2001, 12:17 AM   #3
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
Talking Thanks,

You have helped often in the past, and it has really been appreciated.
I have always found your input authoritative, complete and dependable.

Regards
RD
 
Old 09-21-2001, 03:05 PM   #4
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
You were right

For some reason, System Commander doesn't see linux. I still am having to boot with a floppy.

Any ideas?
 
Old 09-21-2001, 11:55 PM   #5
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I've never used System Commander, but my TurboLinux distro came with a special version. In the manual it says that if linux doesn't appear in the OS selection menu, then press ALT-S and select the Order, add, and removal menu. Next, press ALT-A and then select Partition. You should see a listing of all your partitions. Then select your linux root partition and press ALT-T to make it bootable. Press ESC until you reach the OS selection menu. Linux should be there. Hopefully. I hope this helps.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can boot Win2k & Win98 but not Redhat 7.3 - using System Commander 7 jtsosie Linux - Newbie 8 05-11-2004 01:58 PM
How to boot up from hdc1? Don't write lilo to mbr. Just leave minimum system files. bxxxr Linux - General 2 08-28-2003 05:22 AM
can't boot redhat7.2 under System Commander escort_f Linux - Software 2 01-16-2002 03:23 AM
System Commander wont boot RH 7.2 and Internet Problems offroad Linux - Software 3 11-02-2001 11:11 AM
Lilo-System Commander Success! Tuzinor Linux - General 0 04-04-2001 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:03 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