Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-06-2006, 02:42 PM
|
#1
|
LQ Newbie
Registered: Jan 2006
Posts: 17
Rep:
|
Bootloader issues?
I tried to install Linux on my sister's computer, and as it turns out, none of the bootloaders work with her system. As it is an old computer without specs (I don't know them) I think it may be hardware related. Is there a way I can get a smaller, or possibly an older bootloader to work a dual boot on her older system? And as I had to install a Linux bootloader to be able to dual-boot with Windows, I pretty much rendered their PC useless, and I feel terrible.
Symptoms:
Both GRUB and LILO have errors, from an error 17 in GRUB to repeating 99 99 99 etc for Lilo.
Tried:
Switching bootloaders
Switching where the bootloader is installed and changing which drive is primary in the BIOS....
Any suggestions?
|
|
|
04-06-2006, 02:48 PM
|
#2
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep:
|
if you want the "windows bootloader" back, so that only windows gets loaded, I've heard you simply need to do
fdisk /mbr
on the dos prompt. the way I got an older linux (redhat 6, lilo) work, was to install it not to the mbr, but to the Linux boot partition, after which I simply switched the windows partition non-bootable and the linux boot partition bootable (as far as I can remember; it's been some time). that worked. but I'm pretty sure it's not going to work in all systems, and probably you'll have to figure out your own ways I'd try a new grub or lilo instead of an older one, if they don't seem to work. also, there are other (3rd-party) bootloaders you can use to dual-boot, but I think they're not entirely free of charge.
|
|
|
04-06-2006, 07:14 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285
|
Sounds like a geometry mismatch. Maybe the drive is CHS based, and if (as is almost certain) you installed the loader from a liveCD (or install disk) it would be configured for LBA.
Check the BIOS for disk mode - in need you I believe you can force the geometry in grub (I haven't done this). Will need to be done from the grub prompt, and then setup run.
Hit the website for doco.
As above, "fdisk /mbr" run from a boot disk should get Windows back. For Win2k and later, boot the CD, and run "fixmbr" from the recovery console.
|
|
|
04-06-2006, 10:39 PM
|
#4
|
LQ Newbie
Registered: Jan 2006
Posts: 17
Original Poster
Rep:
|
Next time I'm in Seattle I'll have to try that. They bough a brand new 200 gig harddrive, so I'm sure if I activate the boot partition on that drive and write LILO or GRUB to it, and set the BIOS to load that drive first, It might work. I'm not sure if I already tried that, but now I have a path to follow, at least.
And if nothing works, I'll just run 'fixmbr' from the recovery console...
Thanks for the ideas. The more the merrier, and I'd still like to hear some suggestions. The thing is, my sister and her husband are pretty politically against Microsoft, so I thought it was worth a try to give them everything they need in a PC for free, rather than having to pay for it.
Thanks a lot, again.
|
|
|
05-18-2006, 12:39 AM
|
#5
|
LQ Newbie
Registered: Jan 2006
Posts: 17
Original Poster
Rep:
|
I have another question: will fdisk /mbr erase the entire harddrive? I shouldn't think so, since /mbr is directing a reformat of the master boot record, but fdisk is scary, and they have a lot of files they need on the harddrive.
Yet another question: if I run fixmbr from the recovery console (because the OS in question is Windows XP) is there any chance of it formatting or erasing any data on the harddrive?
The reason I'm asking this is because they have work they really need to get done, and i haven't been up there since, and I feel horrible for leaving them with such a large OS for such a small computer.
|
|
|
05-18-2006, 03:49 AM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285
|
The fdisk we are talking about is M$ofts - that "fdisk /mbr" is a DOS command. The fixmbr is for later O/S's - use one or the other, whichever is more convenient. The latter is documented, the former was kept in the closet - both do the same thing. Neither will trash any data, although you'll likely get a "this may destroy your world, and kill your cat" message. M$oft wrote the utilities, so they should know.
|
|
|
All times are GMT -5. The time now is 12:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|