On Wed, 2013-03-13 at 04:34 -0400, Tom H wrote:
> On Tue, Mar 12, 2013 at 2:59 PM, Stephen P. Molnar
> <s.mol...@sbcglobal.net> wrote:
> >
> > My main Linux computer (64bit CPU) is about six or seven years old now
> > and has had a number of distributions running.  As I haven't had any
> > luck with upgrades, I've always done a complete installation.
> >
> > Currently the Grub boot menu has a number of choices:
> >
> > openSUSE
> > Advanced options for openSUSE
> > openSUSE 12.1 (x86_64)
> > Advanced options for openSUSE 12.1 (x86_64)
> > Debian GNU/Linux (6.0.5)
> > Advanced options for Debian GNU/Linux (6.0.5)
> > Debian GNU/Linux (6.0.4)
> > Advanced options for Debian GNU/Linux (6.0.4)
> >
> > There are a number of things that I find puzzling.
> >
> > First of all, the most recent installation is Debian Wheezy/Testing
> > (7.0), and, in fact, WebMin tells me that the installed Operating
> > system is Debian Linux 7.0.  In order to boot into what is now my
> > default Linux, installed on /dev/hda I have to select the seventh
> > option of the menu which is mislabeled as 6.0.4.
> >
> > I had successfully installed some of the distributions on other
> > than /dev/hda, but the last several installation have been on the
> > Primary Master HD.
> >
> > The computer boots well with the seventh entry in the menu, which is
> > not the default.  This is rather annoying.
> >
> > I have become thoroughly confused by the information I've found about
> > grub2.  I am not a hardware person and am rather loathe to make any
> > changes to the boot loader, given my current high degree of mental
> > entropy.
> >
> > I thought about switching to lilo and, in fact, tried that out
> > successfully on a laptop running Wheeezy in a VM.  When I tried that on
> > the tower /sbin/lilo complained that it couldn't open /etc/lilo.conf,
> > even though I used sudo.  Fortunately, my act of desperation didn't
> > render grub inoperable.
> 
> You can set the default in "/etc/default/grub" as
> 'GRUB_DEFAULT="Debian GNU/Linux (6.0.4)"'.

The automation for GRUB2 is crap, edit the grub.cfg manually, then you
also could tidy up grub.cfg and get rid of all the nonsense.

If you keep GRUB provided by an install that is less maintained you even
don't need to remove this automation. The updater or what it's called on
my machine, even does include installs that aren't existing ;). It just
takes a minute to edit grub.cfg directly and to get exactly what you
want, but you can study how to fix (configure) grub and spend a year to
anyway get a bad menu.

Many people claim that GRUB in general is crappy software, a lot of
professionals seem to prefer SYSLINUX. I don't know, I prefer GRUB
legacy, but I switched to GRUB2 when I planned to tested different
options to boot FreeBSD. I never tested different options, however, as
you can see, my grub.cfg is very clean:

$ cat /run/media/rocketmouse/q/boot/grub/grub.cfg
set timeout=8
set default='0'; if [ x"$default" = xsaved ]; then load_env; set
default="$saved_entry"; fi
set color_normal='light-blue/black'; set
color_highlight='light-cyan/blue'

menuentry "FreeBSD"{
    set root=(hd0,msdos1)
    chainloader +1
}

menuentry 'Ubuntu Quantal,        kernel 3.6.5-rt14' {
  set root='(hd1,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14'
'root=/dev/sdb9' 'ro' 'quiet' ''
  legacy_initrd '/boot/initrd.img-3.6.5-rt14'
'/boot/initrd.img-3.6.5-rt14'
  
}

menuentry 'Ubuntu Quantal,        kernel 3.5.0-18-lowlatency
threadirqs' {
  set root='(hd1,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.5.0-18-lowlatency'
'/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'quiet'
'threadirqs'
  legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency'
'/boot/initrd.img-3.5.0-18-lowlatency'
  
}

menuentry 'Ubuntu Quantal,        kernel 3.5.0-18-lowlatency (recovery
mode)' {
  set root='(hd1,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.5.0-18-lowlatency'
'/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'single'
  legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency'
'/boot/initrd.img-3.5.0-18-lowlatency'
  
}

menuentry 'Ubuntu Studio Quantal, Kernel 3.6.5-rt14' {
  set root='(hd1,13)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14'
'root=/dev/sdb13' 'ro' 'quiet'
  legacy_initrd '/boot/initrd.img-3.6.5-rt14'
'/boot/initrd.img-3.6.5-rt14'
  
}

menuentry 'Ubuntu Studio Quantal, Kernel 3.5.0-18-lowlatency
threadirqs' {
  set root='(hd1,13)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.5.0-18-lowlatency'
'/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb13' 'ro' 'quiet'
'threadirqs'
  legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency'
'/boot/initrd.img-3.5.0-18-lowlatency'
  
}

menuentry 'Ubuntu Studio Precise, Kernel 3.0.30 threadirqs' {
  set root='(hd1,1)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.0.30' '/boot/vmlinuz-3.0.30'
'root=UUID=338316fb-364e-4a43-8deb-738127f878ce' 'ro' 'quiet'
'threadirqs'
  legacy_initrd '/boot/initrd.img-3.0.30' '/boot/initrd.img-3.0.30'
  
}

menuentry 'Ubuntu Studio Precise, Kernel 3.2.0-23-lowlatency
threadirqs' {
  set root='(hd1,1)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.2.0-23-lowlatency'
'/boot/vmlinuz-3.2.0-23-lowlatency'
'root=UUID=338316fb-364e-4a43-8deb-738127f878ce' 'ro' 'quiet'
'threadirqs'
  legacy_initrd '/boot/initrd.img-3.2.0-23-lowlatency'
'/boot/initrd.img-3.2.0-23-lowlatency'
  
}

menuentry 'AVlinux 5.0.3,         Kernel 3.0.23-rt40' {
  set root='(hd1,11)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.0.23-rt40'
'/boot/vmlinuz-3.0.23-rt40' 'root=/dev/sdb11' 'ro' 'quiet'
  legacy_initrd '/boot/initrd.img-3.0.23-rt40'
'/boot/initrd.img-3.0.23-rt40'
  
}

menuentry 'AVlinux 5.0.3,         Kernel 3.0.23-avl-7-pae threadirqs' {
  set root='(hd1,11)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.0.23-avl-7-pae'
'/boot/vmlinuz-3.0.23-avl-7-pae' 'root=/dev/sdb11' 'ro' 'threadirqs'
'quiet'
  legacy_initrd '/boot/initrd.img-3.0.23-avl-7-pae'
'/boot/initrd.img-3.0.23-avl-7-pae'
  
}

menuentry 'Edubuntu 10.10,        Kernel 2.6.33.9-rt31' {
  set root='(hd1,8)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-2.6.33.9-rt31'
'/boot/vmlinuz-2.6.33.9-rt31'
'root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd' 'ro'
  legacy_initrd '/boot/initrd.img-2.6.33.9-rt31'
'/boot/initrd.img-2.6.33.9-rt31'
  
}

menuentry 'Ubuntu Studio Oz,      Kernel 3.0.0-17-generic' {
  set root='(hd1,6)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.0.0-17-generic'
'/boot/vmlinuz-3.0.0-17-generic'
'root=UUID=0241b2ac-a0ab-44de-8d73-0ed084e152e6'
  legacy_initrd '/boot/initrd.img-3.0.0-17-generic'
'/boot/initrd.img-3.0.0-17-generic'
  
}

menuentry 'Ubuntu Studio Oz,      Kernel 3.0.0-20-generic' {
  set root='(hd1,6)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.0.0-20-generic'
'/boot/vmlinuz-3.0.0-20-generic'
'root=UUID=0241b2ac-a0ab-44de-8d73-0ed084e152e6'
  legacy_initrd '/boot/initrd.img-3.0.0-20-generic'
'/boot/initrd.img-3.0.0-20-generic'
  
}

menuentry 'Arch Linux Rt' {
  set root='(hd0,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-linux-rt' '/boot/vmlinuz-linux-rt'
'root=/dev/sda9' 'ro'
  legacy_initrd '/boot/initramfs-linux-rt.img'
'/boot/initramfs-linux-rt.img'
  
}

menuentry 'Arch Linux' {
  set root='(hd0,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-linux' '/boot/vmlinuz-linux'
'root=/dev/sda9' 'ro'
  legacy_initrd '/boot/initramfs-linux.img' '/boot/initramfs-linux.img'
  
}

menuentry 'Arch Linux Fallback' {
  set root='(hd0,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-linux' '/boot/vmlinuz-linux'
'root=/dev/sda9' 'ro'
  legacy_initrd '/boot/initramfs-linux-fallback.img'
'/boot/initramfs-linux-fallback.img'
  
}

menuentry 'openSUSE 11.2,         Kernel 2.6.31.6-rt19' {
  set root='(hd0,7)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-2.6.31.6-rt19'
'/boot/vmlinuz-2.6.31.6-rt19' 'root=/dev/sda7'
  legacy_initrd '/boot/initrd-2.6.31.6-rt19'
'/boot/initrd-2.6.31.6-rt19'
}


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1363165235.1445.487.camel@archlinux

Reply via email to