Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I really need some of your help in here please.
In the last week i made so many clean installs that i can't even remember...
I'm not sure if these are newbie questions on not, cause i'm guessing that for most of u this is easy stuff,... anyway...
Lest's say that i've got 1 hdd with win xp pro and other with the new mandriva. Because, when at the linux install on my F(slave) which was put there after i had win installed on my C(master), linux puts Lilo in the C MBR, (is this right or m i completely wrong?), what happens if i want to take that F drive to another machine? I supose i'll have to reinstall lilo on the mbr of the other master. Is this right? and if so how do i do that?
And in the same way i'll have to delete lilo from my C in the first machine, dont i?
Last week, before this installation i'm talking about, i had a dual boot on the same hdd and decided to delete the linux partitions, which i did and after that i could not get anything up, not even windows, ... it would just crash there and then. I supose that the reason was that lilo was still in the mbr and would freak out becdause there was no linux partitions.
Oh guys... i'm suffering... please help me.
I dont know if i went on n on ... and could not explain myself adequately.
I hope you understood my dilema.
Lilo installing to the mbr of C: is right.
Right, if you move the drive to another machine you would have to install lilo there.
Right, if you're going to remove the linux partition you want to uninstall lilo from the mbr as it contains location information for bootable partitions. The uninstall command is lilo -U or -u
There are other options for where to install lilo but I personally had no luck with them.
dracolich is basically correct - what is unsaid is that this all requires a bootable Linux system. Say Knoppix, or your install disk in a recovery or chroot mode.
What might be easier for you is to change the BIOS boot device to make your current secondary the boot disk, then install Linux with lilo going to the MBR of that disk.
Change the BIOS back, boot the XP disk, go to recovery console and run fixmbr.
This way the two disks will be independent, but will require you to change the BIOS to flip-flop between operating systems.
However, you will be able to take the secondary out, and use it as a boot disk on another machine without having to do any "clean-up" - on either machine.
Thanks a lot dracolich and syg00,
but what u r saying syg, if i got it right is a new linux install on my slave drive,(set as master), and getting lilo in there; and then fixing the mbr on what it was my master with xp. But then if lilo is working at boot time from my linux drive which by now would be the master one, if i take that drive away what is going to boot the xp drive left? (which at this point i would have to set as master again).
M i getting confused?...
U see, my question is:
If lilo on the linux drive was taking over the boot of both drives, stops because i take the drive away...what is going to boot win?
Would win still boot? ...
The answer to your question is that each disk has a boot record - the fixboot will put the XP one back on your C: drive - which must be the boot disk when you do it. Which of the boot records is the (active) MBR (M is for MASTER) is determined by which disk the BIOS designates as the boot device.
Once the Linux disk is removed, and the XP made boot, its boot record (by definition) is the MBR.
If you are lucky, you may be able to dual boot from the Linux disk - it's easy enough to set up, but the installers typically don't handle the situation very well when the XP disk is non-primary; as will be the case when you boot the Linux disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.