installed a little kde, it switched to it on the reboot, and most stuff is missing, no access to a shell of any kind

Gene Heskett gene.heskett at verizon.net
Mon Dec 14 07:10:25 UTC 2009


On Monday 14 December 2009, Goh Lip wrote:
>On 12/14/2009 01:06 AM, Gene Heskett wrote:
>> I also just installed the build of grub-1.97.tar.gz, and the update-grub
>> script has been replaced with a grub-mkconfig, which if you don't give it
>> an output filename just echo's the grub.cfg file to std out.  And it
>> doesn't scan any '/boot' partitions but the one I'm booted from.  And it
>> looks as if what it does is correct, as far as it goes.
>
>Sorry, missed this message earlier,
>Yes, you have to do "sudo grub-mkconfig -o /boot/grub/grub.cfg"
>to set changes to grub config files. Just doing "grub-mkconfig" just
>produce output at terminal for you to check if the changes are okay to
>you. It does nothing else.
>
>Regards,
>Goh Lip

Yes, this I have found.  But its still broken.  So I do the grub.cfg updates 
with vim until such time as I can cobble up a bash script to do it _right_.

Just for grins, attached here is the grub.cfg from the Mint 8 install.  This 
one gets it right, so I know it can be done.  Then I'll attach the output of 
grub-mkconfig which is the output of the gnu.org version.  No  won't, its 20k 
of trash cuz everything is called GNU/Linux, with kernel so and so.  RMS can 
take his fscking politics and shove it.

Thanks Goh Lip


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>

Please, don't mix _that_ flamewar into the thread, OK?

	- Al Viro in an almost-flamewar on linux-kernel
-------------- next part --------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
insmod ext2
set root=(hd1,3)
search --no-floppy --fs-uuid --set 70986117-9040-4ac5-b3aa-e22b57bcf7f8
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set 4137f996-52b0-4ecf-bcef-d3a4b0fec121
insmod png
if background_image /grub/linuxmint.png ; then
  set color_normal=white/black
  set color_highlight=white/light-gray
else
  set menu_color_normal=white/black
  set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Linux Mint 8 Helena x64, linux 2.6.31-14-generic (/dev/sdb3)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd1,1)
	search --no-floppy --fs-uuid --set 4137f996-52b0-4ecf-bcef-d3a4b0fec121
	linux	/vmlinuz-2.6.31-14-generic root=UUID=70986117-9040-4ac5-b3aa-e22b57bcf7f8 ro   quiet splash
	initrd	/initrd.img-2.6.31-14-generic
}
menuentry "Linux Mint 8 Helena x64, linux 2.6.31-14-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	insmod ext2
	set root=(hd1,1)
	search --no-floppy --fs-uuid --set 4137f996-52b0-4ecf-bcef-d3a4b0fec121
	linux	/vmlinuz-2.6.31-14-generic root=UUID=70986117-9040-4ac5-b3aa-e22b57bcf7f8 ro single
	initrd	/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "GNU GRUB 2, (1.98) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /grub2/core.img
}
menuentry "Fedora (2.6.27.38-170.2.113.fc10.i686.PAE) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.27.38-170.2.113.fc10.i686.PAE ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.27.38-170.2.113.fc10.i686.PAE.img
}
menuentry "Fedora (2.6.27.37-170.2.104.fc10.i686.PAE) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.27.37-170.2.104.fc10.i686.PAE ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.27.37-170.2.104.fc10.i686.PAE.img
}
menuentry "Fedora (2.6.27.35-170.2.94.fc10.i686) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.27.35-170.2.94.fc10.i686 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.27.35-170.2.94.fc10.i686.img
}
menuentry "Fedora (2.6.27.35-170.2.94.fc10.i686.PAE) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.27.35-170.2.94.fc10.i686.PAE ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.27.35-170.2.94.fc10.i686.PAE.img
}
menuentry "Fedora (2.6.27.30-170.2.82.fc10.i686) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.27.30-170.2.82.fc10.i686 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.27.30-170.2.82.fc10.i686.img
}
menuentry "fedora (2.6.30) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.30 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1
	initrd /initrd-2.6.30.img
}
menuentry "fedora 10 (2.6.31 from dev/sda) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.31 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.31.img
}
menuentry "fedora 10 (2.6.31.1 from dev/sda) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.31.1 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.31.1.img
}
menuentry "fedora 10 (2.6.31.2 from dev/sda) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.31.2 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.31.2.img
}
menuentry "fedora 10 (2.6.31.3 from dev/sda) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.31.3 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.31.3.img
}
menuentry "fedora 10 (2.6.31.4 from dev/sda) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.31.4 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.31.4.img
}
menuentry "fedora 10 (2.6.32 from dev/sda) (on /dev/sda3)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 9848a6bb-6ecd-412d-b2f5-0fdf68102bd3
	linux /vmlinuz-2.6.32 ro root=LABEL=sea-slash nomodeset memory_corruption_check=1 acpi_enforce_resources=no
	initrd /initrd-2.6.32.img
}
menuentry "Mandriva 2009.1 X64 free (on /dev/sdd10)" {
	insmod ext2
	set root=(hd3,1)
	search --no-floppy --fs-uuid --set 9838db29-2ddd-46e5-835a-7c0f5eafae2a
	linux /vmlinuz ro root=UUID=ab39ede0-9b10-40e3-9fa9-2db747347934 nomodeset memory_corruption_che ck=1
	initrd /initrd.img
}
menuentry "linux (on /dev/sdd10)" {
	insmod ext2
	set root=(hd3,1)
	search --no-floppy --fs-uuid --set 9838db29-2ddd-46e5-835a-7c0f5eafae2a
	linux /vmlinuz BOOT_IMAGE=linux root=UUID=ab39ede0-9b10-40e3-9fa9-2db747347934 resume=UUID=15fcd40a-c619-4954-9f04-1e981a034d8b splash=silent vga=788
	initrd (hd0,0)/initrd.img
}
menuentry "linux-nonfb (on /dev/sdd10)" {
	insmod ext2
	set root=(hd3,1)
	search --no-floppy --fs-uuid --set 9838db29-2ddd-46e5-835a-7c0f5eafae2a
	linux /vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=ab39ede0-9b10-40e3-9fa9-2db747347934 resume=UUID=15fcd40a-c619-4954-9f04-1e981a034d8b
	initrd (hd0,0)/initrd.img
}
menuentry "failsafe (on /dev/sdd10)" {
	insmod ext2
	set root=(hd3,1)
	search --no-floppy --fs-uuid --set 9838db29-2ddd-46e5-835a-7c0f5eafae2a
	linux /vmlinuz BOOT_IMAGE=failsafe root=UUID=ab39ede0-9b10-40e3-9fa9-2db747347934 failsafe
	initrd (hd0,0)/initrd.img
}
menuentry "desktop 2.6.29.1-4mnb (on /dev/sdd10)" {
	insmod ext2
	set root=(hd3,1)
	search --no-floppy --fs-uuid --set 9838db29-2ddd-46e5-835a-7c0f5eafae2a
	linux /vmlinuz-2.6.29.1-desktop-4mnb BOOT_IMAGE=desktop_2.6.29.1-4mnb root=UUID=ab39ede0-9b10-40e3-9fa9-2db747347934 resume=UUID=15fcd40a-c619-4954-9f04-1e981a034d8b splash=silent vga=788
	initrd (hd0,0)/initrd-2.6.29.1-desktop-4mnb.img
}
menuentry "desktop 2.6.29.6-1mnb (on /dev/sdd10)" {
	insmod ext2
	set root=(hd3,1)
	search --no-floppy --fs-uuid --set 9838db29-2ddd-46e5-835a-7c0f5eafae2a
	linux /vmlinuz-2.6.29.6-desktop-1mnb BOOT_IMAGE=desktop_2.6.29.6-1mnb root=UUID=ab39ede0-9b10-40e3-9fa9-2db747347934 resume=UUID=15fcd40a-c619-4954-9f04-1e981a034d8b splash=silent vga=788
	initrd (hd0,0)/initrd-2.6.29.6-desktop-1mnb.img
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###


More information about the kubuntu-users mailing list