-
Junior Member
registered user
Bootmanager for Win98 (hda1) Knoppix(hda8) WinXP(hda10)
Sorry if someone already suggested a solution for this. I did not find one up to now.
I want to install a bootloader to mbr of my only primary partiton of the only harddisk of my PC.
I need to boot three OS:
1. On the primary partiton (/dev/hda1) i have Win98.
2. On the the exteded partiton (/dev/hda
there is a knoppix hd install that is not bootable in the moment.
3. Ont the extended partiton i have freed a partion and installed WinXp into it, creating a NTFS file system (/dev/hda10)
/dev/hda9 is the swap partiton, /dev/hda5 to /dev/hda7 are fat32 partitons
In the moment there is the Windows bootmanager in the MBR of /dev/hda1 that can load Win98 and WinXP.
I would like to be able to boot all three OS from the bootloader. How to add Knoppix HD install to Windows bootloader or install a bootloader able to load all three OSs. Lilo or grub? I have already worked with lilo.conf, so i am not afraid of some config file hacking.
Hellfred
-
Senior Member
registered user
yes you could use the XP bootloader.
to do that you let the XP bootloader and lilo work together.
for me this works well.
quick sketch what i do, write LILO to a floppy, make a "image" of the floppy-mbr put that image in XP's C:\ and edit BOOT.INI mine looks like this.
[boot loader]
timeout=2
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
C:\linux.ipl="LINUX"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Home Edition" /fastdetect
a few more details.
1) make lilo write to floppy, have this line in lilo.conf:
or give floppy as an argument to lilo
2) make a image of the floppy-mbr: and put it in C:\
Code:
dd if=/dev/fd0 of=/mnt/C/linux.ipl bs=512 count=1
3) Modifiy c:\boot.ini -- add a line with:
Code:
C:\linux.ipl="Linux"
repeat 1) and 2) every time you run LILO, rename the old linux.ipl first. good to have just in case something breaks.
you can now have several linuxes booted withthat same lilo if you wish. or even win98 and XP.
happy booting
-
Junior Member
registered user
Possible solution?
I have found this tip by suse linux distribution:http://portal.suse.com/sdb/en/1996/12/nt.html
They suggest to install lilo not MBR but into the linux partition, only thing i do not get is weather it has to be a primary partiton or not. First they say to create a FAT32 data partiton (-> indicates logic partition IMHO) but in the lilo conf it torned into a primary, or the declaration of /dev/sdax partition differes from that for /dev/hdax, where x = 1 to 4 indicates the four primary partitions.
So will it work to:
1. Boot with Linux live CD, the very same that was used for the HD install
2. Mount /dev/hda8 (existing linux partition) and config lilo.conf like suggested by suse. In my case it would be
Code:
# LILO configuration file
# Start LILO global Section
boot=/dev/hda8 # where LILO should be installed
backup=/boot/boot.sda3.970428 # Backup of the previous boot sector
prompt
timeout=100 # wait at prompt: 10 s
vga = normal # force sane state
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz # default image to boot
root = /dev/hda8 # root partition is here
label = Linux
# Linux bootable partition config ends
# Name other Linux kernel images here:
# ...
But this is no good, as /dev/hda8 is most propably behind the 1024 cylinder limitation (/dev/hda1 and /dev/hda5 to 7 have about 60 GB data).
Is it possible with Grub, or Grub boot disk/boot usb stick etc?
Hellfred[/code]
-
Junior Member
registered user
Thanks for the fast reply OErjan.
I will try it your way, did not read your suggestin before i submitted my second post.
I will give it a try right away.
/me looking around for his knoppix boot floppy or knoppix cd to access the lilo.conf and /sbin/lilo on /dev/hda8
Hellfred
-
Senior Member
registered user
that limitation was dealt with several years ago. i have my /boot some 80G from begining of drive. works great for me.
-
Junior Member
registered user
In the moment i am stuck as my bootflopy became unreadable, and even after booting the very same knoppix that was used for the hdinstall, I still am unable to create a bootfloppy, as lilo tryes to write some (intermediat?) data to /boot. But as /boot is on the cd, it fails - file system only readable.
Using the mounted /mnt/hda8/sbin/lilo results in the same error.
Wasn't there a way to copy the linux kernel directly to the flopy (with dd) and swith the root system?
EDIT: With copying my kernel to a disk (with dd) and using the rdev command to change the root file system I finally succeeded in booting into my linux installation onece more. The rest was easy, thanks to your good description. I am already writing this mail under linux started by the means of the Windows bootloader.
Thank you very much for your help
Hellfred
Similar Threads
-
By Jadeyez in forum Networking
Replies: 1
Last Post: 07-12-2006, 12:25 AM
-
By A. Jorge Garcia in forum General Support
Replies: 2
Last Post: 07-04-2004, 04:29 AM
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 07-04-2004, 04:26 AM
-
By unno in forum Hdd Install / Debian / Apt
Replies: 10
Last Post: 04-30-2004, 08:47 PM
-
By lightstorm in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 12-05-2003, 03:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.50

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1
$399.00

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK
$799.00

One Lot of 50 SK Hynix 16GB 2Rx4 PC4-2133P ECC RAM HMA42GR7MFR4N-TF Server
$2599.00

HYNIX HMA84GR7AFR4N-VK 32GB PC4-2666V 2RX4 RDIMM MEMORY HMA84GR7AFR4N-VK
$189.99

Windows 11 Pro Install/Recovery/Repair USB Flash Drive
$35.00