Results 1 to 4 of 4

Thread: seting xubuntu as first choice in dual boot?

  1. #1
    Join Date
    Jan 2012
    Beans
    113

    seting xubuntu as first choice in dual boot?

    Is there a way to have xubuntu listed first/ default in the dual boot up screen? I cant use windows on this pc because it overheats and shuts down in windows . I am trying to avoid a full clean and reinstall of xubuntu at this time.

  2. #2
    Join Date
    Nov 2004
    Location
    Maine
    Beans
    2,420
    Distro
    Kubuntu

    Re: seting xubuntu as first choice in dual boot?

    yes you can do that.
    in a terminal type this command:

    [CODEgrep menuentry /boot/grub/grub.cfg][/CODE]

    you should see a list like this:

    Code:
    user@YourComputer:~$ grep menuentry /boot/grub/grub.cfg
    menuentry 'Ubuntu, with Linux 2.6.35-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.35-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.35-30-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.35-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry "Memory test (memtest86+)" {
    menuentry "Memory test (memtest86+, serial console 115200)" {
    menuentry "Windows NT/2000/XP (loader) (on /dev/sda1)" {
    your looking for the kernel that xubuntu is using.

    in another terminal type:
    Code:
    sudo nano /etc/default/grub
    you'll find a file that looks like this:

    [CODE# If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.

    GRUB_DEFAULT=saved
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX_DEFAULT="delayacct"
    GRUB_CMDLINE_LINUX=""][/CODE]

    change the line that says GRUB_DEFAULT=saved to
    GRUB_DEFAULT='Ubuntu, with Linux 2.6.35-31-generic'

    Save the file and exit
    now in terminal type :
    Code:
    sudo update-grub
    Reboot xubuntu should now be the default boot.
    Wireless script
    Dave
    Registered Linux User #462608
    Morse Code an early Digital Mode.

  3. #3
    Join Date
    Jan 2012
    Beans
    113

    Re: seting xubuntu as first choice in dual boot?

    Quote Originally Posted by kc1di View Post
    yes you can do that.
    in a terminal type this command:

    [CODEgrep menuentry /boot/grub/grub.cfg][/CODE]

    you should see a list like this:

    Code:
    user@YourComputer:~$ grep menuentry /boot/grub/grub.cfg
    menuentry 'Ubuntu, with Linux 2.6.35-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.35-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.35-30-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.35-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry "Memory test (memtest86+)" {
    menuentry "Memory test (memtest86+, serial console 115200)" {
    menuentry "Windows NT/2000/XP (loader) (on /dev/sda1)" {
    your looking for the kernel that xubuntu is using.

    in another terminal type:
    Code:
    sudo nano /etc/default/grub
    you'll find a file that looks like this:

    [CODE# If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.

    GRUB_DEFAULT=saved
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX_DEFAULT="delayacct"
    GRUB_CMDLINE_LINUX=""][/CODE]

    change the line that says GRUB_DEFAULT=saved to
    GRUB_DEFAULT='Ubuntu, with Linux 2.6.35-31-generic'

    Save the file and exit
    now in terminal type :
    Code:
    sudo update-grub
    Reboot xubuntu should now be the default boot.
    nope didnt work, I still get the windows first on startup. I rechecked and the grub default is saved right . any other ideas.

  4. #4
    Join Date
    Aug 2009
    Location
    Under the stairs.
    Beans
    1,408
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: seting xubuntu as first choice in dual boot?

    Easy way-
    Install Grub-Customizer and just make it the default top position.
    Dell Inspiron 1764 Laptop, Intel CoreTM i5 520M), 4GB Shared Dual Channel DDR3 at 1066MHz, 512MB ATI Mobility RadeonTM HD4330 Integrated Intel HD.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •