Help writing a new boot sector
Hi, Im new in using Linux and knoppix. I have knoppix 3.2 installed on a 4 gig hd and have a 30 gig partioned to 2 15 gig hd's. One partion has windows 2000 pro and the other has xp pro. I had knoppix showing up when I would start my computer and i had to reload windows xp due to a problem that I had and it wipped out the scree that would let me start knoppix. Is there a way to set up that screen again so I can boot from all of the os's without reinstalling any of them. If so can someone give me step by step instructions because like i said earlyier I am new with linux so I don't know much about it. Thanks
Re: Help writing a new boot sector
Quote:
Originally Posted by ssnow
Hi, Im new in using Linux and knoppix. I have knoppix 3.2 installed on a 4 gig hd and have a 30 gig partioned to 2 15 gig hd's. One partion has windows 2000 pro and the other has xp pro. I had knoppix showing up when I would start my computer and i had to reload windows xp due to a problem that I had and it wipped out the scree that would let me start knoppix. Is there a way to set up that screen again so I can boot from all of the os's without reinstalling any of them. If so can someone give me step by step instructions because like i said earlyier I am new with linux so I don't know much about it. Thanks
If you can still boot the HD install of knoppix with the boot floppy you should have made when you installed then boot to knoppix and become root by opening a console window (clam shell icon on the taskbar) type su then enter type in your root password enter again, you are now root and type /sbin/lilo -v and enter key once more to have lilo write itself to the MBR with the configuration that you were already using and things should now be back to the way they were. If you did not make the boot floppy then boot the Knoppix cd and open a console window and use these steps:
Code:
sudo mount /dev/hd?? /mnt/hd??
sudo chroot /mnt/hd?? /sbin/lilo -v
Replace the ?? with the drive letter and partition number of the / partition of the knoppix install. note: If the chroot line fails you may need /mnt/hd??/ in the line, it's been a while since I have done this so I'm not sure.