PDA

View Full Version : [SOLVED] Dual Boot



hewjr1000
August 29th, 2010, 08:52 PM
I have 10.04 installed and installed/dual booted 10.10

Need to remove 10.10 and keep 10.04

What do I need to do to accomplish this.

Henry

arrange
August 29th, 2010, 10:39 PM
It depends on how you boot - can you please provide the output of the boot_info_script (https://sourceforge.net/projects/bootinfoscript/). (If you don't know how to run the script, look here (http://bootinfoscript.sourceforge.net/).)

hewjr1000
August 29th, 2010, 11:29 PM
Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #6 for (,msdos6)/boot/grub.

sda1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

sda6: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu maverick (development
branch)
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda7: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 114,409,471 114,407,424 83 Linux
/dev/sda2 114,411,518 234,440,703 120,029,186 5 Extended
/dev/sda5 228,818,944 234,440,703 5,621,760 82 Linux swap / Solaris
/dev/sda6 114,411,520 224,053,247 109,641,728 83 Linux
/dev/sda7 224,055,296 228,812,799 4,757,504 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda1 2873f877-c9ce-408b-9874-8c5afd87a813 ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 ee5cf6ac-9471-48ed-b4aa-b7c08c6c6584 swap
/dev/sda6 d2879c96-c0a6-4af3-a31a-7ff6b5e343c5 ext4
/dev/sda7 144c6e9a-fcc0-4091-8343-e00f1cf8d099 swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda1 / ext4 (rw,errors=remount-ro)


=========================== sda1/boot/grub/grub.cfg: ===========================

#
# 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 $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 recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2873f877-c9ce-408b-9874-8c5afd87a813
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1280x1024
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
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2873f877-c9ce-408b-9874-8c5afd87a813
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=5
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/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2873f877-c9ce-408b-9874-8c5afd87a813
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=2873f877-c9ce-408b-9874-8c5afd87a813 ro splash quiet vga=795 quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2873f877-c9ce-408b-9874-8c5afd87a813
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=2873f877-c9ce-408b-9874-8c5afd87a813 ro single splash quiet vga=795
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2873f877-c9ce-408b-9874-8c5afd87a813
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2873f877-c9ce-408b-9874-8c5afd87a813
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, with Linux 2.6.35-19-generic (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
linux /boot/vmlinuz-2.6.35-19-generic root=UUID=d2879c96-c0a6-4af3-a31a-7ff6b5e343c5 ro quiet splash
initrd /boot/initrd.img-2.6.35-19-generic
}
menuentry "Ubuntu, with Linux 2.6.35-19-generic (recovery mode) (on /dev/sda6)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
linux /boot/vmlinuz-2.6.35-19-generic root=UUID=d2879c96-c0a6-4af3-a31a-7ff6b5e343c5 ro single
initrd /boot/initrd.img-2.6.35-19-generic
}
### 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 ###

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=2873f877-c9ce-408b-9874-8c5afd87a813 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=ee5cf6ac-9471-48ed-b4aa-b7c08c6c6584 none swap sw 0 0

=================== sda1: Location of files loaded by Grub: ===================


13.0GB: boot/grub/core.img
13.0GB: boot/grub/grub.cfg
13.1GB: boot/initrd.img-2.6.32-24-generic
13.0GB: boot/vmlinuz-2.6.32-24-generic
13.1GB: initrd.img
13.0GB: vmlinuz

=========================== sda6/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
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/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-19-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
linux /boot/vmlinuz-2.6.35-19-generic root=UUID=d2879c96-c0a6-4af3-a31a-7ff6b5e343c5 ro quiet splash
initrd /boot/initrd.img-2.6.35-19-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
echo 'Loading Linux 2.6.35-19-generic ...'
linux /boot/vmlinuz-2.6.35-19-generic root=UUID=d2879c96-c0a6-4af3-a31a-7ff6b5e343c5 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-19-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
multiboot /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d2879c96-c0a6-4af3-a31a-7ff6b5e343c5
multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, with Linux 2.6.32-24-generic (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 2873f877-c9ce-408b-9874-8c5afd87a813
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=2873f877-c9ce-408b-9874-8c5afd87a813 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, with Linux 2.6.32-24-generic (recovery mode) (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 2873f877-c9ce-408b-9874-8c5afd87a813
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=2873f877-c9ce-408b-9874-8c5afd87a813 ro single
initrd /boot/initrd.img-2.6.32-24-generic
}
### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda6/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=d2879c96-c0a6-4af3-a31a-7ff6b5e343c5 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
UUID=144c6e9a-fcc0-4091-8343-e00f1cf8d099 none swap sw 0 0

=================== sda6: Location of files loaded by Grub: ===================


65.1GB: boot/grub/core.img
63.0GB: boot/grub/grub.cfg
59.3GB: boot/initrd.img-2.6.35-19-generic
65.1GB: boot/vmlinuz-2.6.35-19-generic
59.3GB: initrd.img
65.1GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 63 34 63 34 63 34 63 34 63 34 63 34 63 34 63 34 |c4c4c4c4c4c4c4c4|
*
00000080 63 34 63 34 62 34 4e 08 02 34 02 34 65 34 f4 07 |c4c4b4N..4.4e4..|
00000090 ee 07 66 34 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 |..f4............|
000000a0 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 |................|
000000b0 ee 07 ee 07 ee 07 ee 07 ee 07 67 34 ee 07 ee 07 |..........g4....|
000000c0 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 |................|
*
000000f0 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 68 34 |..............h4|
00000100 ee 07 02 34 53 08 ee 07 ee 07 ee 07 66 34 ee 07 |...4S.......f4..|
00000110 ee 07 ee 07 ee 07 69 34 ee 07 ee 07 ee 07 ee 07 |......i4........|
00000120 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 |................|
00000130 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 ee 07 53 08 |..............S.|
00000140 02 34 ee 07 ee 07 53 08 92 08 02 34 6a 34 02 34 |.4....S....4j4.4|
00000150 02 34 02 34 02 34 02 34 02 34 02 34 02 34 02 34 |.4.4.4.4.4.4.4.4|
*
00000180 02 34 6a 34 02 34 02 34 6a 34 69 34 02 34 6b 34 |.4j4.4.4j4i4.4k4|
00000190 02 34 6c 34 6c 34 6c 34 02 34 6c 34 02 34 6a 34 |.4l4l4l4.4l4.4j4|
000001a0 6a 34 02 34 6a 34 02 34 02 34 02 34 02 34 6d 34 |j4.4j4.4.4.4.4m4|
000001b0 02 34 02 34 02 34 02 34 02 34 02 34 02 34 00 fe |.4.4.4.4.4.4.4..|
000001c0 ff ff 82 fe ff ff 02 b8 d1 06 00 c8 55 00 00 fe |............U...|
000001d0 ff ff 05 fe ff ff 01 00 00 00 01 00 89 06 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200

oldfred
August 29th, 2010, 11:37 PM
You have Maverick's grub2 in the MBR and if you are going to delete Maverick you will need Lucid's grub2 in the MBR.

Boot into your Lucid install and reinstall grub2 to the MBR.

reinstall from working (not liveCD) system
just run:
sudo grub-install /dev/sda
If that returns any errors run:
sudo grub-install --recheck /dev/sda
Then:
sudo update-grub