Results 1 to 10 of 10

Thread: How to remove grub

  1. #1
    Member registered user
    Join Date
    Oct 2004
    Posts
    38

    How to remove grub

    Does anyone knows how to remove grub.

    Understand that there is something for "fdisk /mbr" , how to do it.

    Is this is windows or linux.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949

    Re: How to remove grub

    Quote Originally Posted by Mic Q
    Does anyone knows how to remove grub.

    Understand that there is something for "fdisk /mbr" , how to do it.

    Is this is windows or linux.
    Thats a windows fdisk command.

  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: How to remove grub

    Quote Originally Posted by Mic Q
    Does anyone knows how to remove grub.

    Understand that there is something for "fdisk /mbr" , how to do it.

    Is this is windows or linux.
    Question: why do you want to remove grub? are you replacing it with something else (lilo??) ? If not, what are you going to use for a bootloader; Linux must have a bootloader of some sort. So, just overwrite grub with whatever you new bootloader is.

  4. #4
    Member registered user
    Join Date
    Oct 2004
    Posts
    38
    Why remove grub?

    I am experimenting with a "half dead" harddisk and installed it with DOS and SUSE. Grub was installed by SUSE. After some testing, i decided to reformat and re-partition this harddisk.
    After the reformating and re-partitioning, upon boot up, the system still ask for grub, so i need to learn how to remove it .


    Question :
    1. Am i right to assume that installing LILO will overwrite GRUB(if GRUB is previously installed) and vice versa?

    2. If my harddisk has only windows now, can i still install LILO or GRUB to select booting by windows (after all this is the only OS left)?

    3. If above is permissable, then i could install other distribution of Linux (including Knoppix) and configure GRUB/LILO to select the OS for booting up, right?

    4. Anyone knows what is the default that Mandrake will load , LILO or GRUB.

    5. I am having a WinME for family use and understand that I can (should, must) update to Win2K as the later is more stable.
    a. Can anyone confirm it this is true.
    b. How can I do the update without losing what inside my harddisk.


    Thanks in advance for the info.

  5. #5
    Member registered user
    Join Date
    Oct 2004
    Posts
    38
    One more question to above:

    6. the Fdisk /mdr command I need to invoke to remove GRUB/LILO, it is available to ALL windows OS, right?

    thanks.

  6. #6
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Answers:
    1) Yes
    2) Yes and No. Grub depending on menu.lst. If menu.lst is deleted, grub won't be able to boot.
    Lilo also depends on lilo.conf, but once you update lilo you don't need lilo.conf. You just can't change anything without lilo.conf.
    3) Yes and No.
    Yes if you do not allow other distro to install Grub/Lilo.
    No if (2)
    You can just allow other distro to overwrite the mbr and create new Grub/Lilo. Then you edit your Grub/Lilo using your last distro that modified that grub/lilo/mbr.
    4)The last time I used, it was Lilo. I believe you have an option to choose.
    5)a)Yes, because winme is a the most unstable Os in it's class.
    b)I would suggest XP rather than W2k considering the hardwares and softwares support(for family).
    6) fdisk /mbr =dos--->winme
    fixmbr = xp


  7. #7
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    I agree with shah except perhaps choice of Windows version. I still use winME, if you have it, why not use it. Just take precautions against crashing...for instance separate partition for data. 2K is reputedly more stable than XP.

  8. #8
    Junior Member
    Join Date
    May 2004
    Posts
    2

    Still Would Like to Know

    I was also looking for a clean, sure way to remove grub, and am sorry to see no solution was offered.

    I have tried several times to install Knoppix on a hard drive that had another Linux distro previously installed on it, and grub is never overwritten by the new by “knoppix-installer”. This wouldn't be too bad if the original grub installation was usable for booting Knoppix, but no chance – grub persistent, prevents Knoppix from booting, but doesn't function as a boot loader.

    So, I'd like to ask the question again, somewhat modified, though: can anyone explain how to use Knoppix from a live CD to delete a grub installation from a hard derive?

    Thanks.

  9. #9
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: Still Would Like to Know

    Quote Originally Posted by Roper
    I was also looking for a clean, sure way to remove grub, and am sorry to see no solution was offered.

    I have tried several times to install Knoppix on a hard drive that had another Linux distro previously installed on it, and grub is never overwritten by the new by “knoppix-installer”. This wouldn't be too bad if the original grub installation was usable for booting Knoppix, but no chance – grub persistent, prevents Knoppix from booting, but doesn't function as a boot loader.

    So, I'd like to ask the question again, somewhat modified, though: can anyone explain how to use Knoppix from a live CD to delete a grub installation from a hard derive?

    Thanks.
    Did a google 'grub' then 'uninstall' & got this:

    12. How to uninstall GRUB from my hard disk drive?
    There is no concept uninstall in boot loaders, because if you uninstall a boot loader, an unbootable machine would simply remain. So all you need to do is overwrite another boot loader you like to your disk, that is, install the boot loader without uninstalling GRUB.
    For example, if you want to install the boot loader for Windows, just run FDISK /MBR on Windows. If you want to install LILO (I can't imagine why you want to do such a thing, though), run /sbin/lilo on GNU/Linux.

    from http://www.gnu.org/software/grub/grub-faq.en.html#q12

    So, running from the CD, you *should* be able to
    1) copy /etc/lilo.conf to /home/knoppix so it will be editable
    2) edit so that it will install to the HD MBR & shows the partitions & O/S's you want
    3) run sudo lilo -c /home/knoppix/lilo.conf

    You will of coarse have to mount the HD read/write. There is some howto info on this somewhere in the docs but I can't find it right now. An alternate (since it sounds like you have Knoppix on the HD but can't get into it) would be to boot into it which you should be able to do by booting with 'knoppix root=/dev/hdaX noinitrd ro ' (this from a post here somewhere) and then run lilo from there.

    PS: You're famous. You're post is #5 on the google search list.

  10. #10
    Junior Member
    Join Date
    May 2004
    Posts
    2

    CrashedAgain, Thaks

    CrashedAgain, thanks for your help. The information you provided gave me what I needed to fix my problem -- the removal of the corrupt (?) copy of grub which hung on after the Knoppix installation. I still don't understand, though, why grub defectively remains on the HD and takes over the boot process, supposedly after being overwritten by another distro.

    Regarding your comment, "[the] post is #5 on the google search list": Thats good news, as others will be able to easily find your most helpful contribution.

    Thanks again.

Similar Threads

  1. how do i remove....SBM........
    By cpc in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-02-2005, 07:05 PM
  2. how to remove a packae without using apt-get remove?
    By DimGR in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-09-2004, 05:34 PM
  3. How to remove KDE and reinstall KDE 3.1.5?
    By Paradox in forum Hdd Install / Debian / Apt
    Replies: 9
    Last Post: 02-06-2004, 09:51 AM
  4. how to remove dualboot after...............
    By S.SoLTEK in forum General Support
    Replies: 2
    Last Post: 02-03-2004, 07:30 PM
  5. How to remove OpenOffice using apt-get?
    By Blue in forum Customising & Remastering
    Replies: 4
    Last Post: 06-23-2003, 07:18 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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



Samsung 256GB (16GBx16) 2Rx4 PC3L-10600R DDR3 ECC RDIMM Server Memory #99 picture

Samsung 256GB (16GBx16) 2Rx4 PC3L-10600R DDR3 ECC RDIMM Server Memory #99

$124.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Kingston KCP424SD8/16 16GB DDR4 2400Mhz Memory RAM picture

Kingston KCP424SD8/16 16GB DDR4 2400Mhz Memory RAM

$15.00



M386A8K40BM2-CTD SAMSUNG 64GB (1X64GB) 4DRX4 PC4-2666V DDR4 SERVER MEMORY picture

M386A8K40BM2-CTD SAMSUNG 64GB (1X64GB) 4DRX4 PC4-2666V DDR4 SERVER MEMORY

$40.91



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96