| | |
Boot Linux after instaling windows
![]() |
•
•
Join Date: Jun 2004
Posts: 2,108
Reputation:
Solved Threads: 18
•
•
•
•
Originally Posted by Ceaser
It is a possibility that you formated over the Linux partition.
Last edited by alc6379; Dec 6th, 2004 at 2:58 pm.
•
•
Join Date: Nov 2004
Posts: 2
Reputation:
Solved Threads: 0
The reinstalling I did with Gost. When I see HD it is not full because of Linux :lol:
I had created two hardrives independed.
It is right.I did partion whith magic partion.On one hardrive sit windows :evil: and on other sit Linux :lol: .And this cause it to boot directly into one OS(windows) and ignore the other(Linux).
Thanks a lot .Sory for mistakes.
I had created two hardrives independed.
It is right.I did partion whith magic partion.On one hardrive sit windows :evil: and on other sit Linux :lol: .And this cause it to boot directly into one OS(windows) and ignore the other(Linux).
Thanks a lot .Sory for mistakes.
•
•
Join Date: Jun 2004
Posts: 2,108
Reputation:
Solved Threads: 18
•
•
•
•
Originally Posted by Velikiy
The reinstalling I did with Gost. When I see HD it is not full because of Linux :lol:
I had created two hardrives independed.
It is right.I did partion whith magic partion.On one hardrive sit windows :evil: and on other sit Linux :lol: .And this cause it to boot directly into one OS(windows) and ignore the other(Linux).
.
•
•
Join Date: Dec 2004
Posts: 5
Reputation:
Solved Threads: 0
loadlin is very useful if you lost windows MBR after installing linux....
i know of two options
1. using LOADLIN. which uses windows boot.ini to load linux
2. boot in rescue mode ... run command to write bootloader of linux..(lilo/grub)
Regards,
Peeyush Maurya
http://www.geocities.com/peeyush_maurya/
i know of two options
1. using LOADLIN. which uses windows boot.ini to load linux
2. boot in rescue mode ... run command to write bootloader of linux..(lilo/grub)
Regards,
Peeyush Maurya
http://www.geocities.com/peeyush_maurya/
Boot to your Linux distro and run lilo. Lilo will rewrite the mbr to include the lilo boot menu screen that got overwritten when you reinstalled Windoze.
...provided you use lilo and not grub or some other boot manager...
...provided you use lilo and not grub or some other boot manager...
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
TheOgre is right.
What happened when you reinstalled windows is that it over wrote the MBR where you most likely had the lilo/grub info installed. This got rid of the linux boot load and put the windows one back on there.
Boot with a linux rescue disc (you should be able to use almost any install cd) when box is up in linux, you need to rerun lilo or reinstall grub (whatever you were using as your boot loader).
If you didn't mount your / directory as root, make sure its mounted
and do:
chroot /mnt/hda1 (or whatever you have it mounted as)
Check your lilo.conf (in /etc) file to make sure its correct
and then run:
lilo
that is, assuming you're using lilo.
What happened when you reinstalled windows is that it over wrote the MBR where you most likely had the lilo/grub info installed. This got rid of the linux boot load and put the windows one back on there.
Boot with a linux rescue disc (you should be able to use almost any install cd) when box is up in linux, you need to rerun lilo or reinstall grub (whatever you were using as your boot loader).
If you didn't mount your / directory as root, make sure its mounted
and do:
chroot /mnt/hda1 (or whatever you have it mounted as)
Check your lilo.conf (in /etc) file to make sure its correct
and then run:
lilo
that is, assuming you're using lilo.
If your using grub
type
$ grub
Note: hd0,0 is hda1, hd0,1 will be hda2 etc.
hd1,0 is hdb1
root(hd0,0) should be the partition where your grub booting information is (kernel images and grub config)
if you dont know where this is use
grub> find /boot/grub/stage1
setup(hd0) installs grub on your mbr
good luck, btw.
type
$ grub
grub> root (hd0,0) grub> setup (hd0) grub> quit
Note: hd0,0 is hda1, hd0,1 will be hda2 etc.
hd1,0 is hdb1
root(hd0,0) should be the partition where your grub booting information is (kernel images and grub config)
if you dont know where this is use
grub> find /boot/grub/stage1
setup(hd0) installs grub on your mbr

good luck, btw.
![]() |
Other Threads in the *nix Software Forum
- Previous Thread: Linux & MS Virtual PC
- Next Thread: problem with java and redhat
| Thread Tools | Search this Thread |






