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
  •  


Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS

$725.06



CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU picture

CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU

$580.03



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Dell R730xd 12LFF 2.6Ghz 20-C 128GB H730 2x10G+2x1G NIC 2x1100W 12x Trays Rails picture

Dell R730xd 12LFF 2.6Ghz 20-C 128GB H730 2x10G+2x1G NIC 2x1100W 12x Trays Rails

$721.05



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5 picture

Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5

$46.00



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$353.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00