LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Do not want lilo in my MBR, want to use System Commander to boot (https://www.linuxquestions.org/questions/linux-general-1/do-not-want-lilo-in-my-mbr-want-to-use-system-commander-to-boot-6730/)

rdaves@earthlink.net 09-20-2001 09:31 AM

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

linuxcool 09-21-2001 12:05 AM

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.

rdaves@earthlink.net 09-21-2001 12:17 AM

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

rdaves@earthlink.net 09-21-2001 03:05 PM

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

Any ideas?

linuxcool 09-21-2001 11:55 PM

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.


All times are GMT -5. The time now is 05:11 PM.