Linux - General This 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.
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.
|
|
02-12-2004, 03:52 PM
|
#1
|
Member
Registered: Oct 2003
Location: Bendigo, Australia
Distribution: Have used Yellow Dog, thinking Mandrake for X86 System
Posts: 46
Rep:
|
Can't get rid of Lilo, grub wont load why not?
Ok hres my problem - i've tried to install gentoo a few times, and im pretty sure that i got the kernel config, bootloader etc. right this time and it must be the umpteenth time that i've formatted /dev/hda - anyhow for some strange reason LILO still exists somewhere on my hard disk - how do i get rid of it so that grub will boot up gentoo for me? how can it still be on the hard disk even though i've deleted all partitions and put new filesystems on them time and again? Thanks
|
|
|
02-12-2004, 04:15 PM
|
#2
|
Member
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453
Rep:
|
emerge -C lilo
when you emerge grub, be sure to set it up on the mbr llike the documentation states. Good choice going with grub--it's much easier to deal with.
|
|
|
02-12-2004, 04:18 PM
|
#3
|
LQ Guru
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153
Rep:
|
Its in your mbr. If you have a windows boot disk you can boot with that and
fdisk /mbr
I'm not sure how to do in linux though
|
|
|
02-13-2004, 01:31 AM
|
#4
|
Member
Registered: Oct 2003
Location: Bendigo, Australia
Distribution: Have used Yellow Dog, thinking Mandrake for X86 System
Posts: 46
Original Poster
Rep:
|
what is the mbr? i just went with grub cos it's the default - the way they name hard disk partitions is wack! thnx for the help!
|
|
|
02-13-2004, 01:37 AM
|
#5
|
Member
Registered: Oct 2003
Location: Bendigo, Australia
Distribution: Have used Yellow Dog, thinking Mandrake for X86 System
Posts: 46
Original Poster
Rep:
|
hmm i tried to open /mbr with fdisk but it said that it couldnt open it (i did that with my Gentoo LiveCD) any suggestions as to where its hiding? i didnt install lilo with gentoo will emerge -c gentoo still work? thnx guys
|
|
|
02-13-2004, 08:35 AM
|
#6
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Did you use a windows version of fdisk as darin3200 wrote?
In Linux do
Code:
dd if=/dev/nul of=/dev/hdx bs=1k count=1
where "x" in hdx is your actual drive letter.
After that the MBR contains a lot of zeros .
CAUTION. I'm not exactly sure about the actual size of the MBR and behind that comes the data for the file system structure. Thus I recommend you do a follow-up reading on this or you do it only when you re-install anyway from scratch. In that case you can change either bs=1M or count=100 to clear any file system remnants. Also
Last edited by JZL240I-U; 02-13-2004 at 08:37 AM.
|
|
|
02-13-2004, 05:27 PM
|
#7
|
Member
Registered: Oct 2003
Location: Bendigo, Australia
Distribution: Have used Yellow Dog, thinking Mandrake for X86 System
Posts: 46
Original Poster
Rep:
|
thanks jzl - turns out i had actually just misconfigured grub, when i ran setup i entered grub> setup (hd0,0) instead of grub> setup (hd0)
thanks for your help anyway - problem solved
|
|
|
All times are GMT -5. The time now is 03:44 PM.
|
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
|
|