Announcement

Collapse
No announcement yet.

[solved]Question about GRUB/boot settings

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [solved]Question about GRUB/boot settings

    Hello

    I've had a dualboot XP/kubuntu running for almost a year now but I've hardly ever used XP during that time so yesterday I used gparted and cleared that partition (not sure that was wise/correct but I got a suggestion it was 'ok' way). Now I would like to remove the WinXP in the grub menu.lst and I just want to make sure I don't screw things up (better safe then sorry)

    I've read the GRUB how-to Section 4, could I just remove the windows section in the menu.lst? or comment out the Windows section with #?
    Am I wrong or wouldn't it be quite harmful since the windows partition is the first on the drive ?

    HD 'looking' like this (according to gparted - diff. in blkid though)

    [ ::::: Ext4(clean-former XP)::::::] [::::::Ext3(KubuntuOS)::::::] [::swap::]

    Edit; oh and I've done a copy of the /grub/menu.lst
    .. and I want to be able to say that I'm completely windoze free

    blkid
    Code:
    /dev/sda1: UUID="895a195f-4512-41f5-975c-10ce02e4eb5e" TYPE="ext4"
    /dev/sda5: UUID="c9c11a63-a602-43f4-9c52-5a56c01469c2" TYPE="swap"
    /dev/sda6: UUID="52f21270-0fc1-4211-baef-fbf75922b7b7" TYPE="ext3"
    /dev/sdb1: LABEL="WD USB 2" UUID="DD0D-6EF1" TYPE="vfat"
    GRUB menu.lst
    Code:
    ## ## End Default Options ##
    
    title		Ubuntu 9.10, kernel 2.6.31-16-generic
    uuid		52f21270-0fc1-4211-baef-fbf75922b7b7
    kernel		/boot/vmlinuz-2.6.31-16-generic root=UUID=52f21270-0fc1-4211-baef-fbf75922b7b7 ro quiet splash 
    initrd		/boot/initrd.img-2.6.31-16-generic
    quiet
    
    title		Ubuntu 9.10, kernel 2.6.31-16-generic (recovery mode)
    uuid		52f21270-0fc1-4211-baef-fbf75922b7b7
    kernel		/boot/vmlinuz-2.6.31-16-generic root=UUID=52f21270-0fc1-4211-baef-fbf75922b7b7 ro single
    initrd		/boot/initrd.img-2.6.31-16-generic
    
    ****[etc .. several more kernel-boot-options ...]****
    
    title		Ubuntu 9.10, memtest86+
    uuid		52f21270-0fc1-4211-baef-fbf75922b7b7
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title		Windows XP Professional x64 Edition
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    ASUS M4A87TD | AMD Ph II x6 | 12 GB ram | MSI GeForce GTX 560 Ti (448 Cuda cores)
    Kubuntu 12.04 KDE 4.9.x (x86_64) - Debian "Squeeze" KDE 4.(5x) (x86_64)
    Acer TimelineX 4820 TG | intel i3 | 4 GB ram| ATI Radeon HD 5600
    Kubuntu 12.10 KDE 4.10 (x86_64) - OpenSUSE 12.3 KDE 4.10 (x86_64)
    - Officially free from windoze since 11 dec 2009
    >>>>>>>>>>>> Support KFN <<<<<<<<<<<<<


    #2
    Re: Question about GRUB/boot settings

    Yes, Jonas, just delete the entry.
    Open Konqueror or Dolphin as root:
    kdesudo konqueror (kdesudo dolphin)
    Open /boot/grub/menu.lst
    Delete this:

    title Windows XP Professional x64 Edition
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1

    File > Save, File Exit

    Option to try first:
    In theory, you should be able to boot into your Kubuntu and issue the following command which would also generate a new menu.lst for you (you might try this first, just as an experiment, maybe save a backup copy of your current menu.lst first):
    sudo update-grub
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    Comment


      #3
      Re: Question about GRUB/boot settings

      Thank you!

      sudo update-grub didn't make it happen(was that for GRUB2 ? - I still have GRUB1, a remain from Intripid I guess) ... but the deletion of win entry did however

      on the side note I did it the cli way with nano, and it kind of makes me feel a bit more 'at ease' with Kubuntu, and I feel more like a real penguin


      Can't wait for the Lucid(?) release to get some use for that disk space .. or is there a unstable out already ? :O

      Happy Penguin - officially free from the chains of Windoze



      ASUS M4A87TD | AMD Ph II x6 | 12 GB ram | MSI GeForce GTX 560 Ti (448 Cuda cores)
      Kubuntu 12.04 KDE 4.9.x (x86_64) - Debian "Squeeze" KDE 4.(5x) (x86_64)
      Acer TimelineX 4820 TG | intel i3 | 4 GB ram| ATI Radeon HD 5600
      Kubuntu 12.10 KDE 4.10 (x86_64) - OpenSUSE 12.3 KDE 4.10 (x86_64)
      - Officially free from windoze since 11 dec 2009
      >>>>>>>>>>>> Support KFN <<<<<<<<<<<<<

      Comment


        #4
        Re: [solved]Question about GRUB/boot settings

        sudo update-grub will sometimes work for GRUB Legacy (it is supposed to work). It does seem to work pretty good for GRUB 2. As for using GRUB Legacy, Jonas, I think that's fine, maybe even smart, until they fully get the bugs out of GRUB 2. I have a feeling that GRUB Legacy will be around for quite some time to come.
        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment

        Working...
        X