Did you receive the clean.tar.gz files I emailed
Can you detail what is your "GRUBBOOT partition", and how you use it ? which distro use it ?
I understood it was just a separate /boot partition for your UbuntuStudio (only, not for any other OS), but I am not sure...
I set it up as per instructions in this link
http://members.iinet.net/~herman546/p20/GRUB2%20Bash%20Commands.html
it is not tied to any Distro in particular so it can be modified and changed at will, and no update-grub executed in any other distro has an effect on it, I simply transfer the menu entry into it.
here is my copy which is on parition #2 and is formated as fat the partition Label is GRUBBOOT
Code:
#insmod part_gpt
#insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
set menu_color_normal=black/white
set menu_color_highlight=white/red
insmod part_msdos
insmod ext2
set gfxmode=640x480
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set=root AC82-C4B4
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
#set root='(hd0,msdos10)'
#search --no-floppy --fs-uuid --set=root /dev/sda2
search --no-floppy --fs-uuid --set=root AC82-C4B4
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root AC82-C4B4
load_video
##############insmod jpeg
terminal gfxterm
insmod png
background_image -m /boot/grub/1110.png
set timeout=95
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/42_NEW_Chakra_Distros ###
menuentry "Windows Vista (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root C65A6C105A6C0013
chainloader +1
}
menuentry "-" {
set
}
menuentry "Chakra Linux, with Linux vmlinuz26 Fallback (on /dev/sda5)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
#search --no-floppy --fs-uuid --set=root ca7b9adc-9887-496c-a1ad-a3a5ec4f3cf6
linux /boot/vmlinuz26 root=/dev/sda5 ro quiet
#/dev/disk/by-uuid/ca7b9adc-9887-496c-a1ad-a3a5ec4f3cf6 ro quiet
initrd /boot/kernel26.img
}
menuentry "-" {
set
}
menuentry 'UbuntuStudio 64 bit on sda6, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
#search --no-floppy --fs-uuid --set=root c7e7c5c2-09fe-4db4-8633-554f90059f45
linux /boot/vmlinuz-2.6.38-8-generic root=/dev/sda6 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'UbuntuStudio TEST KERNEL Linux 2.6.39.3 TEST KERNEL' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
#search --no-floppy --fs-uuid --set=root c7e7c5c2-09fe-4db4-8633-554f90059f45
linux /boot/vmlinuz-2.6.39.3 root=/dev/sda6 ro quiet splash vt.handoff=7
initrd /boot/initramf-2.6.39.3
}
menuentry 'UbuntuStudio TEST KERNEL Linux 3.0.0 TEST KERNEL' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
#search --no-floppy --fs-uuid --set=root c7e7c5c2-09fe-4db4-8633-554f90059f45
linux /boot/bzImage-3.0.0 root=/dev/sda6 ro quiet splash vt.handoff=7
initrd /boot/initramfs-3.0.0
}
menuentry "CtkArch Linux (on /dev/sda7)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
#search --no-floppy --fs-uuid --set=root 0920168c-5419-4412-8134-713ed2c3814c
#linux /boot/vmlinuz26 root=/dev/disk/by-uuid/0920168c-5419-4412-8134-713ed2c3814c ro quiet resume=/dev/disk/by-uuid/759ac79d-c3af-49f4-ae9a-19a2e3464a02
linux /boot/vmlinuz26 root=/dev/sda7 ro quiet
#resume=/dev/disk/by-uuid/759ac79d-c3af-49f4-ae9a-19a2e3464a02
initrd /boot/kernel26.img
}
menuentry "ArchBang Linux, with Linux vmlinuz26" --class archlinux --class gnu-linux --class gnu --class os {
#load_video
#set gfxpayload=keep
#insmod gzio
#insmod part_msdos
#insmod ext2
set root='(hd0,msdos8)'
#search --no-floppy --fs-uuid --set=root /dev/sda8 #ee7be487-f281-4072-9af3-72612c9a684c
#echo 'Loading ArchBang Linux kernel vmlinuz26 ...'
linux /boot/vmlinuz26-patched root=/dev/sda8 ro quiet
#echo 'Loading initial ramdisk ...'
initrd /boot/kernel26-patched.img
}
menuentry "Ultimate, with Linux 2.6.35-25-generic (on /dev/sda9)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
#search --no-floppy --fs-uuid --set=root /dev/sda9 #52777f50-fd1d-42d8-9a17-5ad1ddf0b794
#linux /boot/vmlinuz-2.6.35-25-generic root=UUID=52777f50-fd1d-42d8-9a17-5ad1ddf0b794 ro quiet splash
linux /boot/vmlinuz-2.6.35-30-generic root=/dev/sda9 ro quiet splash
initrd /boot/initrd.img-2.6.35-30-generic
}
menuentry "Toorox Gnome 64 bit (on /dev/sda10)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
#search --no-floppy --fs-uuid --set=root /dev/sda10 #91033a5b-7407-4a80-b1aa-07ff96202ee3
linux /boot/vmlinuz root=/dev/sda10 nomce noapic lang=us
}
menuentry "Puppy, with Linux (on /dev/sda11)" --class gnu-linux --class gnu --class os {
'insmod part_msdos
'insmod ext2
set root='(hd0,msdos11)'
#search --no-floppy --fs-uuid --set=root /dev/sda11 #856f3983-f4e9-45da-b500-e199fefbbad1
linux /boot/vmlinuz root=/dev/sda11 pmedia=atahd
}
menuentry "Zorin, (Software design Pkgs) with Linux (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
#search --no-floppy --fs-uuid --set=root /dev/sda12 #06ca0e47-d483-4dbe-bfe8-4656dc6cd0eb
linux /boot/vmlinuz-2.6.38-8-generic root=/dev/sda12 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry "Slackware, (Software design Pkgs) with Linux (on /dev/sda15)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext3
set root='(hd0,msdos15)'
#search --no-floppy --fs-uuid --set=root 6a3011c0-3c9e-4832-aede-6472452da31a
#linux /boot/vmlinuz-generic-2.6.37.6 root=UUID=6a3011c0-3c9e-4832-aede-6472452da31a
linux /boot/vmlinuz-huge-2.6.37.6 root=/dev/sda15 rdinit= ro
initrd /boot/initrd.gz
}
### END /etc/grub.d/42_NEW_Chakra_Distros ###
Now as to
Does Boot-Repair v3 work when you reinstall GRUB in the MBR (e.g. not sda6, but sda) ?
I ran it again and selected the windows MBR view attached screenshot
and the result of that was the following, I am posting all my steps in the hopes of maybe helping others, hopefully it does not make it more confusing?
Code:
Originally Posted by
YannBuntu
Thanks for the feedback. Please send me again a TAR.GZ of your /var/log/clean folder, so that I can see the logs.
Does Boot-Repair v3 work when you reinstall GRUB in an OS without separate /boot ?
Does Boot-Repair v3 work when you reinstall GRUB in the MBR (e.g. not sda6, but sda) ?
Well if you look at the screenshot I selected MBR but that only booted me straight into windows no boot menu at all.
Now I had some work to do!
Luckily I had made a Grub2 USB some time back but the menu did not coincide with my current setup all the partitions were wrong, because I have been changing things around alot to get a feel fro the system.
Luckily it was set with UUID's so Ubuntu booted and I decided to fix the USB to coincide with my current setup, but that ran me into another problem becuase I missed a step and since I was running UbuntuStudio wich I upgraded to Grub2 did not get added to the grub.cfg.
so when I rebooted I had a kernel panic!
Now I could not get into anything that had Grub2 upgrade and could not fix it, CtkArch has a problem with pacman etc...etc..
Finally ran a Live CD and got back a menu, but it was not current, and your software renamed boot to oldboot so I had to rename it after deleting the one your software created.
Now once I was able to boot back into my menu I decided to update the GrubBoot USB to make it current:
Code:
After I could not get back into grub menu
I put a Grub2 USB I had made
jason@UbuntuStudio64bit:~$ sudo blkid
To find the label of the USB
jason@UbuntuStudio64bit:~$ blkid
/dev/sda1: LABEL="WindowsVista" UUID="C65A6C105A6C0013" TYPE="ntfs"
/dev/sda2: LABEL="BOOTGRUB" UUID="AC82-C4B4" TYPE="vfat"
/dev/sda3: UUID="35b20b9d-52cd-4ed4-803f-3a22ed821f66" TYPE="swap"
/dev/sda5: LABEL="Chakra" UUID="ca7b9adc-9887-496c-a1ad-a3a5ec4f3cf6" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: LABEL="UbuntuStudio64bi" UUID="ae95fcff-e194-4dec-9342-3b029ff999c2" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda7: LABEL="CtkArch64" UUID="0920168c-5419-4412-8134-713ed2c3814c" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: LABEL="ArchBang" UUID="ee7be487-f281-4072-9af3-72612c9a684c" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda9: LABEL="UltimateEdition" UUID="52777f50-fd1d-42d8-9a17-5ad1ddf0b794" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda10: LABEL="TooroxGnome64" UUID="00a7cb0b-392f-47be-bb3f-e76b5296ba78" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda11: LABEL="Puppy" UUID="856f3983-f4e9-45da-b500-e199fefbbad1" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda12: LABEL="Zorin" UUID="847decb3-ad18-42c7-90dd-1b5a8715e290" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda13: LABEL="DistroHood" UUID="edee5a0c-2b54-46af-aaa5-1c1147587deb" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda14: LABEL="Slackware" UUID="6a3011c0-3c9e-4832-aede-6472452da31a" TYPE="ext4"
/dev/sda15: LABEL="Zenwalk" UUID="391ded26-9183-409f-b780-5632075d5ed1" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda16: LABEL="FusionLinux" UUID="8efba70a-15c5-4eb5-bb40-e9e28c3d0002" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb1: LABEL="GrubBoot" UUID="91210090-7641-4a87-96d3-d2d9c6056940" TYPE="ext2"
/dev/sdb2: UUID="80079494-a1c1-4f19-99b4-6f2e82f90297" TYPE="ext2"
/dev/sdc1: LABEL="HP_320GB-ActiveSoft" UUID="F0B8E610B8E5D55E" TYPE="ntfs"
/dev/sdd1: LABEL="ReadyBoost-SysUtilities" UUID="8A9C26F89C26DE87" TYPE="ntfs"
I then put grub on the USB's MBR
sudo grub-install --root-directory=/media/GrubBoot /dev/sdb
Installation finished. No error reported.
wrote grub.cfg to the USB
root@UbuntuStudio64bit:/home/jason# grub-mkconfig -o /media/GrubBoot/boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.39.3
Found linux image: /boot/vmlinuz-2.6.38-10-generic
Found initrd image: /boot/initrd.img-2.6.38-10-generic
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Vista (loader) on /dev/sda1
Found Gentoo Base System release 2.0.2 on /dev/sda10
Found unknown Linux distribution on /dev/sda11
Found Zorin OS 5 (11.04) on /dev/sda12
Found Slackware Linux (Slackware 13.37.0) on /dev/sda14
Found Chakra Linux (2011.04_20110521-1) on /dev/sda5
Found Arch on /dev/sda7
Found Arch1 on /dev/sda8
Found Ubuntu 10.10 (10.10) on /dev/sda9
done
so I can modify it without being root if I have to
root@UbuntuStudio64bit:/home/jason# chmod 777 -R /media/GrubBoot
so it should be ready for the next time I need it
But since I have a dedicated boot partition I had to modify GrubBoot/boot/grub/grub.cfg which needed root=UUID= entries as opposed to root=/dev/sda6 since I will be booting from the USB device and added back my UbuntuStudio64 menu entries
Code:
#
#insmod part_gpt
#insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
set menu_color_normal=black/white
set menu_color_highlight=white/red
insmod part_msdos
insmod ext2
set gfxmode=640x480
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set=root ee7be487-f281-4072-9af3-72612c9a684c
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
#set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set=root /dev/sda2
#search --no-floppy --fs-uuid --set=root /dev/sda10
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root AC82-C4B4
load_video
##############insmod jpeg
terminal gfxterm
insmod png
background_image -m /boot/grub/1110.png
set timeout=95
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/42_NEW_Chakra_Distros ###
menuentry "Windows Vista (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root C65A6C105A6C0013
chainloader +1
}
menuentry "-" {
set
}
menuentry "Chakra Linux, with Linux vmlinuz26 Fallback (on /dev/sda5)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root ca7b9adc-9887-496c-a1ad-a3a5ec4f3cf6
linux /boot/vmlinuz26 root=UUID=ca7b9adc-9887-496c-a1ad-a3a5ec4f3cf6 ro quiet
initrd /boot/kernel26.img
}
menuentry "-" {
set
}
menuentry 'UbuntuStudio 64 bit on sda6, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root ae95fcff-e194-4dec-9342-3b029ff999c2
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=ae95fcff-e194-4dec-9342-3b029ff999c2 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'UbuntuStudio TEST KERNEL Linux 2.6.39.3 TEST KERNEL' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root ae95fcff-e194-4dec-9342-3b029ff999c2
linux /boot/vmlinuz-2.6.39.3 root=UUID=ae95fcff-e194-4dec-9342-3b029ff999c2 ro quiet splash vt.handoff=7
initrd /boot/initramf-2.6.39.3
}
menuentry 'UbuntuStudio TEST KERNEL Linux 3.0.0 TEST KERNEL' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root ae95fcff-e194-4dec-9342-3b029ff999c2
linux /boot/bzImage-3.0.0 root=UUID=ae95fcff-e194-4dec-9342-3b029ff999c2 ro quiet splash vt.handoff=7
initrd /boot/initramfs-3.0.0
}
menuentry "CtkArch Linux (on /dev/sda7)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root 0920168c-5419-4412-8134-713ed2c3814c
linux /boot/vmlinuz26 root=UUID=0920168c-5419-4412-8134-713ed2c3814c ro quiet resume=/dev/disk/by-uuid/759ac79d-c3af-49f4-ae9a-19a2e3464a02
initrd /boot/kernel26.img
}
menuentry "ArchBang Linux, with Linux vmlinuz26" --class archlinux --class gnu-linux --class gnu --class os {
#load_video
#set gfxpayload=keep
#insmod gzio
#insmod part_msdos
#insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root ee7be487-f281-4072-9af3-72612c9a684c
#echo 'Loading ArchBang Linux kernel vmlinuz26 ...'
linux /boot/vmlinuz26-patched root=UUID=ee7be487-f281-4072-9af3-72612c9a684c ro quiet
#echo 'Loading initial ramdisk ...'
initrd /boot/kernel26-patched.img
}
menuentry "Ultimate, with Linux 2.6.35-25-generic (on /dev/sda9)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set=root 52777f50-fd1d-42d8-9a17-5ad1ddf0b794
linux /boot/vmlinuz-2.6.35-25-generic root=UUID=52777f50-fd1d-42d8-9a17-5ad1ddf0b794 ro quiet splash
initrd /boot/initrd.img-2.6.35-30-generic
}
menuentry "Toorox Gnome 64 bit (on /dev/sda10)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos10)'
search --no-floppy --fs-uuid --set=root 00a7cb0b-392f-47be-bb3f-e76b5296ba78
linux /boot/vmlinuz root=UUID=00a7cb0b-392f-47be-bb3f-e76b5296ba78 nomce noapic lang=us
}
menuentry "Puppy, with Linux (on /dev/sda11)" --class gnu-linux --class gnu --class os {
'insmod part_msdos
'insmod ext2
set root='(hd0,msdos11)'
search --no-floppy --fs-uuid --set=root 856f3983-f4e9-45da-b500-e199fefbbad1
linux /boot/vmlinuz root=UUID=856f3983-f4e9-45da-b500-e199fefbbad1 pmedia=atahd
}
menuentry "Zorin, (Software design Pkgs) with Linux (on /dev/sda12)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root 847decb3-ad18-42c7-90dd-1b5a8715e290
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=847decb3-ad18-42c7-90dd-1b5a8715e290 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry "Slackware, (Software design Pkgs) with Linux (on /dev/sda15)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext3
set root='(hd0,msdos14)'
search --no-floppy --fs-uuid --set=root 6a3011c0-3c9e-4832-aede-6472452da31a
#linux /boot/vmlinuz-generic-2.6.37.6 root=UUID=6a3011c0-3c9e-4832-aede-6472452da31a
linux /boot/vmlinuz-huge-2.6.37.6 root=UUID=6a3011c0-3c9e-4832-aede-6472452da31a rdinit= ro
initrd /boot/initrd.gz
}
### END /etc/grub.d/42_NEW_Chakra_Distros ###
Now I am back where I started, I tested the USB boot and that is ok now.
Boot-Repair should create no blank file. If it happens that is a bug that we need to solve, please indicate me the localization of the files that are blanked.
You should have them in the tars that I sent. But again I am doing things in a non standard way I believe and this may be the culprit??
I hope this is not to confusing?
Bookmarks