-
Windows and Linux on one Hard Disk
hi,
i have knoppix installed to hard disk. After turning on the computer LiLo prompts for the os that I want to boot. This works fine. However, I am planning to install another windows version. As I experienced before, windows overwrites the MBR in which I have installed LiLo. Then I will have no way to boot knoppix from hard disk (I can't create a boot disk on a floppy, since my floppy drive doesn't work). How can I prevent Windows from overwriting the MBR? Or how can I restore Lilo afterwards?
pascal
-
Senior Member
registered user
Boot Knoppixor a Linux Distro from a CD
After installing windows boot Knoppix or the distro you have installed from CD to a command line. Do a chroot to the partition on which linux is installed (C:\chroot /mnt/hda? ) and then execute lilo. It will pick up your old lilo configuration and use it.
Hit ctl-D to exit from the chroot and then shut it all down.
-
Senior Member
registered user
you could boot with the knoppix cd
then chroot into your mounted linux "/" (chroot /mnt/hdXY)
edit the /etc/lilo.conf (adding your new win aswell)
then run lilo.
exit chroot (by typing exit)
reboot your computer.
-
Senior Member
registered user
or back up your mbr with knoppix.
su
dd if=/dev/hda1 bs=512 count=1 of=/mnt/hdaX
Of course you know to make where your saving it writable.
-
Senior Member
registered user
Or use your CD to boot into your HD install. Boot with:
knoppix root=/dev/hda5 noinitrd ro
Then reinstall lilo. You will probably have to manually add an entry to /etc/lilo.conf for the new windows install.
-
ok, thanks
it works now
pascal
-
Junior Member
registered user
-
Senior Member
registered user
Re: Co-existence Windows, dos, and Linux
![Quote](images/misc/quote_icon.png)
Originally Posted by
alex52
My experience shows that better way to co-exist Windows and Linux is:
1. Do lilo to partition where Linux is located and copy its boot sector:
dd if=/dev/hdx of=/b-hdx bs=512 count=1
(bs= 446 for mbr only)
2. Copy file b-hdx to c:\ b-hdx; add to c:\boot.ini: c:\b-hdx="Knoppix" .
Do it every time after run lilo .
And there in lies the disaster area of this techinique (you can't boot if you forget to copy the file across after running lilo)! If you want the "advantage" of your method (your windows boot is unmolested) you should look at the thread on iso booting with grub where you will find instructions on setting up grub to work from boot.ini. You can store your grub menu.lst on any partition you want (or even have multiple copies) and you can edit your command lines as you boot (using command line completion).
-
Junior Member
registered user
Multi-boot
Now I use more better way to boot any partition or device
You can find detailed and updated information about winxp and knoppix here:
http://www.knoppix.net/forum/viewtopic.php?t=17024
=======================
Similar Threads
-
By eeoam in forum Other Live CDs
Replies: 2
Last Post: 01-07-2007, 04:12 PM
-
By eco2geek in forum The Lounge
Replies: 6
Last Post: 07-12-2005, 08:23 AM
-
By Mr_White in forum MS Windows & New to Linux
Replies: 2
Last Post: 03-25-2005, 01:26 AM
-
By francy222 in forum Hardware & Booting
Replies: 2
Last Post: 01-20-2005, 06:48 PM
-
By eco2geek in forum The Lounge
Replies: 5
Last Post: 09-19-2003, 10:19 PM
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
![16GB DDR4 Corsair Vengeance LPX 3000 Mhz 1.35V Desktop Computer PC Memory RAM picture](/store/img/g/et0AAOSwiyBlc1dP/s-l225/16GB-DDR4-Corsair-Vengeance-LPX-3000-Mhz-1-35V-Des.jpg)
16GB DDR4 Corsair Vengeance LPX 3000 Mhz 1.35V Desktop Computer PC Memory RAM
$30.89
![A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture](/store/img/g/RCAAAOSweqdeWaui/s-l225/A-Tech-8GB-DDR3-1600-PC3-12800-Laptop-SODIMM-204-P.jpg)
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
![SK Hynix 8GB DDR4 1Rx16 -PC4-3200AA/ HMAA1GS6CJR6N-XN SODIMM picture](/store/img/g/v6YAAOSwwylmYfZo/s-l225/SK-Hynix-8GB-DDR4-1Rx16-PC4-3200AA-HMAA1GS6CJR6N-X.jpg)
SK Hynix 8GB DDR4 1Rx16 -PC4-3200AA/ HMAA1GS6CJR6N-XN SODIMM
$10.00
![Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture](/store/img/g/mecAAOSw2Vlkv6Ot/s-l225/Crucial-DDR3L-16GB-1600-2x-8GB-PC3-12800-Laptop-SO.jpg)
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
![Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture](/store/img/g/~u4AAOSwK-liKn7t/s-l225/Team-T-FORCE-VULCAN-Z-32GB-2-x-16GB-PC-RAM-DDR4-32.jpg)
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
![8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture](/store/img/g/tmAAAOSwxu1mDNSQ/s-l225/8GB-PC3L-12800S-1600MHz-SODIMM-DDR3-RAM-Grade-A.jpg)
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
![SAMSUNG 4Gb 2Rx8 DDR3 PC3-10600S LAPTOP SODIMM RAM MEMORY M471B5273DH0-CH9 picture](/store/img/g/NFgAAOSwBlZl4JpO/s-l225/SAMSUNG-4Gb-2Rx8-DDR3-PC3-10600S-LAPTOP-SODIMM-RAM.jpg)
SAMSUNG 4Gb 2Rx8 DDR3 PC3-10600S LAPTOP SODIMM RAM MEMORY M471B5273DH0-CH9
$5.99
![[ BULK LOT OF 10 ] 8GB DDR4 Desktop RAM SAMSUNG, HYNIX etc. (10x) picture](/store/img/g/qSgAAOSwSqxiEB0p/s-l225/-BULK-LOT-OF-10-8GB-DDR4-Desktop-RAM-SAMSUNG-HYNIX.jpg)
[ BULK LOT OF 10 ] 8GB DDR4 Desktop RAM SAMSUNG, HYNIX etc. (10x)
$89.99
![Samsung 32GB 1Rx4 PC5-4800 EC4 RDIMM DDR5-38400 ECC Registered Server Memory RAM picture](/store/img/g/YyQAAOSwGTBlVTPc/s-l225/Samsung-32GB-1Rx4-PC5-4800-EC4-RDIMM-DDR5-38400-EC.jpg)
Samsung 32GB 1Rx4 PC5-4800 EC4 RDIMM DDR5-38400 ECC Registered Server Memory RAM
$109.99
![64GB (4X 16GB) DDR3-1333 PC3-10600 Memory RAM for APPLE MAC PRO 5,1 Westmere picture](/store/img/g/f-IAAOSwUGxlwZ7W/s-l225/64GB-4X-16GB-DDR3-1333-PC3-10600-Memory-RAM-for-AP.jpg)
64GB (4X 16GB) DDR3-1333 PC3-10600 Memory RAM for APPLE MAC PRO 5,1 Westmere
$49.99