help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: RE: Reconciling multiple GrUBs and development...


From: Eli Riedlinger
Subject: Fw: RE: Reconciling multiple GrUBs and development...
Date: Tue, 27 Sep 2011 17:18:03 -0700 (PDT)

To Jordan Uggla and address@hidden



I did not intentionally send the email to you, Jordan instead of to 
address@hidden In other mail groups I have membered, clicking reply 
automatically replies to the group...

Because you replied directly ot me and put the group email in the cc, my reply 
was automatically sent to you, Jordan, because  I am not accustomed to cc'ing 
to a group...

Usually, multiple email addresses can be put in the "to" like I am doing to 
ensure delivery both to you, Jordan, individually an to the group...

By putting the group email first, it should ensure that the default reply email 
will be to the group...



I just figured out how to toggle between rich text in yahoo mail, and the 
current plain text setting should not include any html  yet I have already 
attached the files as plain text attachments...

I hope the results will now show up as plain text so it will be readable on 
your phone, Jordan.....

If this entire message is to large, I am willing to re-send it in smaller 
segments, without quoting the reply history, if neccessary....


I downloaded the script and saved it on my internal hard drive...

That was unaccessible under Linux Mint recovery terminal...

Though I was able to login to my Mint account (using the login command at the 
recovery shell prompt) and see my files...

I was unable to access the internal hard drive from Mint, so I could not run 
the boot info script from that os...

Which Mint directory would be best to try to copy the boot info script to from 
Xubuntu rcovery root login???

I did a kernel update, though afterwards, Linux Mint still stalled after reboot 
at the Mint gui login...

Perhaps I need to find an appropriate online Linux Mint help resource to 
discuss those questions...

Though I suspect the basic GNU directory system is quite similar across various 
Linux and Ubuntu platforms...



I did successfully run the boot info script under Xubuntu which was installed 
via wubi...

The terminal output was:

boot_info_script version: 0.60        [17 May 2011]


"gawk" could not be found, using "busybox awk" instead.
This may lead to unreliable results.

Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Searching sda1 for information... 
Searching sda1/Wubi for information... 
Searching sdb1 for information... 
Searching sdb2 for information... 
Searching sdb5 for information... 

Finished. The results are in the file "RESULTS.txt"
located in "/host/Downloads/Boot Info Script/".




The RESULTS.txt had in it the following contents...


                  Boot Info Script 0.60    from 17 May 2011


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

 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 1 for (,msdos1)/boot/grub.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM /wubildr 
                       /ubuntu/winboot/wubildr /wubildr.mbr 
                       /ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk 
                       /ubuntu/disks/swap.disk

sda1/Wubi: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 11.04
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Linux Mint 10 Julia
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60.0 GB, 60011642880 bytes
240 heads, 63 sectors/track, 7752 cylinders, total 117210240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   117,210,239   117,210,177   7 NTFS / exFAT / 
HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371568 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048   187,336,703   187,334,656  83 Linux
/dev/sdb2         187,338,750   195,371,007     8,032,258   5 Extended
/dev/sdb5         187,338,752   195,371,007     8,032,256  82 Linux swap / 
Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0       a626050f-0b9c-49b5-b522-e4b341c68a7b   ext4       
/dev/sda1        5EB81847B8181FD7                       ntfs       
/dev/sdb1        ac90df66-6062-426d-a5e3-10a1ce27cbbf   ext4       
/dev/sdb5        581fa238-ef5d-477e-87d0-17da6cdf9744   swap       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /                        ext4       
(rw,errors=remount-ro,commit=0)
/dev/sda1        /host                    fuseblk    
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" 
/noexecute=optin /fastdetect
C:\wubildr.mbr = "Xubuntu"
--------------------------------------------------------------------------------

======================== sda1/Wubi/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 {
true
}

insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=100
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 ###
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
menuentry "Ubuntu, Linux 2.6.38-11-generic" {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.38-11-generic root=UUID=5EB81847B8181FD7 
loop=/ubuntu/disks/root.disk ro  splash  quiet splash
    initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry "Ubuntu, Linux 2.6.38-11-generic (recovery mode)" {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.38-11-generic root=UUID=5EB81847B8181FD7 
loop=/ubuntu/disks/root.disk ro single  splash
    initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry "Ubuntu, Linux 2.6.38-8-generic" {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.38-8-generic root=UUID=5EB81847B8181FD7 
loop=/ubuntu/disks/root.disk ro  splash  quiet splash
    initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry "Ubuntu, Linux 2.6.38-8-generic (recovery mode)" {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.38-8-generic root=UUID=5EB81847B8181FD7 
loop=/ubuntu/disks/root.disk ro single  splash
    initrd /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_lupin ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" --class windows 
--class os {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    drivemap -s (hd0) ${root}
    chainloader +1
}
menuentry "Linux Mint 10, 2.6.35-22-generic (/dev/sdb1) (on /dev/sdb1)" --class 
gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod ext2
    set root='(/dev/sdb,msdos1)'
    search --no-floppy --fs-uuid --set=root ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux /boot/vmlinuz-2.6.35-22-generic 
root=UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf ro splash quiet splash
    initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry "Linux Mint 10, 2.6.35-22-generic (/dev/sdb1) -- recovery mode (on 
/dev/sdb1)" --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod ext2
    set root='(/dev/sdb,msdos1)'
    search --no-floppy --fs-uuid --set=root ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux /boot/vmlinuz-2.6.35-22-generic 
root=UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf ro single splash
    initrd /boot/initrd.img-2.6.35-22-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 ###
--------------------------------------------------------------------------------

============================= sda1/Wubi/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
/host/ubuntu/disks/root.disk /               ext4    loop,errors=remount-ro 0   
    1
/host/ubuntu/disks/swap.disk none            swap    loop,sw         0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

   4.720001221 = 5.068062720    boot/grub/grub.cfg                             1
   3.562500000 = 3.825205248    boot/initrd.img-2.6.38-11-generic              2
   1.410381317 = 1.514385408    boot/initrd.img-2.6.38-8-generic               1
   3.074527740 = 3.301249024    boot/vmlinuz-2.6.38-11-generic                 1
   0.987464905 = 1.060282368    boot/vmlinuz-2.6.38-8-generic                  1
   3.562500000 = 3.825205248    initrd.img                                     2
   1.410381317 = 1.514385408    initrd.img.old                                 1
   3.074527740 = 3.301249024    vmlinuz                                        1
   0.987464905 = 1.060282368    vmlinuz.old                                    1

=========================== sdb1/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 part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
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='(hd1,msdos1)'
search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
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/06_mint_theme ###
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
insmod png
if background_image /boot/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 10, 2.6.35-22-generic (/dev/sdb1)' --class linuxmint 
--class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux    /boot/vmlinuz-2.6.35-22-generic 
root=UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf ro  splash  quiet splash
    initrd    /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Linux Mint 10, 2.6.35-22-generic (/dev/sdb1) -- recovery mode' 
--class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
    echo    'Loading Linux 2.6.35-22-generic ...'
    linux    /boot/vmlinuz-2.6.35-22-generic 
root=UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf ro single  splash
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### 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='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos1)'
    search --no-floppy --fs-uuid --set 5eb81847b8181fd7
    drivemap -s (hd0) ${root}
    chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sdb1/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/sdc1 during installation
UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf /               ext4    
errors=remount-ro 0       1
# swap was on /dev/sdc5 during installation
UUID=581fa238-ef5d-477e-87d0-17da6cdf9744 none            swap    sw            
  0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  72.135005951 = 77.454372864   boot/grub/core.img                             1
   2.493976593 = 2.677886976    boot/grub/grub.cfg                             2
  69.891834259 = 75.045785600   boot/initrd.img-2.6.35-22-generic              1
  72.133197784 = 77.452431360   boot/vmlinuz-2.6.35-22-generic                 1
  69.891834259 = 75.045785600   initrd.img                                     1
  72.133197784 = 77.452431360   vmlinuz                                        1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sdb2

00000000  74 00 20 00 45 00 78 00  70 00 6c 00 6f 00 72 00  |t. .E.x.p.l.o.r.|
00000010  65 00 72 00 5c 00 49 00  6e 00 66 00 6f 00 64 00  |e.r.\.I.n.f.o.d.|
00000020  65 00 6c 00 69 00 76 00  65 00 72 00 79 00 5c 00  |e.l.i.v.e.r.y.\.|
00000030  52 00 65 00 73 00 74 00  72 00 69 00 63 00 74 00  |R.e.s.t.r.i.c.t.|
00000040  69 00 6f 00 6e 00 73 00  22 00 0d 00 0a 00 09 00  |i.o.n.s.".......|
00000050  09 00 09 00 50 00 4f 00  4c 00 49 00 43 00 59 00  |....P.O.L.I.C.Y.|
00000060  20 00 21 00 21 00 4e 00  6f 00 41 00 64 00 64 00  | .!.!.N.o.A.d.d.|
00000070  69 00 6e 00 67 00 43 00  68 00 61 00 6e 00 6e 00  |i.n.g.C.h.a.n.n.|
00000080  65 00 6c 00 73 00 0d 00  0a 00 0d 00 0a 00 0d 00  |e.l.s...........|
00000090  0a 00 09 00 09 00 09 00  09 00 23 00 69 00 66 00  |..........#.i.f.|
000000a0  20 00 76 00 65 00 72 00  73 00 69 00 6f 00 6e 00  | .v.e.r.s.i.o.n.|
000000b0  20 00 3e 00 3d 00 20 00  34 00 0d 00 0a 00 09 00  | .>.=. .4.......|
000000c0  09 00 09 00 09 00 53 00  55 00 50 00 50 00 4f 00  |......S.U.P.P.O.|
000000d0  52 00 54 00 45 00 44 00  20 00 21 00 21 00 53 00  |R.T.E.D. .!.!.S.|
000000e0  55 00 50 00 50 00 4f 00  52 00 54 00 45 00 44 00  |U.P.P.O.R.T.E.D.|
000000f0  5f 00 49 00 45 00 35 00  0d 00 0a 00 09 00 09 00  |_.I.E.5.........|
00000100  09 00 09 00 23 00 65 00  6e 00 64 00 69 00 66 00  |....#.e.n.d.i.f.|
00000110  0d 00 0a 00 0d 00 0a 00  0d 00 0a 00 09 00 09 00  |................|
00000120  09 00 09 00 45 00 58 00  50 00 4c 00 41 00 49 00  |....E.X.P.L.A.I.|
00000130  4e 00 20 00 21 00 21 00  49 00 45 00 5f 00 45 00  |N. .!.!.I.E._.E.|
00000140  78 00 70 00 6c 00 61 00  69 00 6e 00 4e 00 6f 00  |x.p.l.a.i.n.N.o.|
00000150  41 00 64 00 64 00 69 00  6e 00 67 00 43 00 68 00  |A.d.d.i.n.g.C.h.|
00000160  61 00 6e 00 6e 00 65 00  6c 00 73 00 0d 00 0a 00  |a.n.n.e.l.s.....|
00000170  09 00 09 00 09 00 09 00  56 00 41 00 4c 00 55 00  |........V.A.L.U.|
00000180  45 00 4e 00 41 00 4d 00  45 00 20 00 4e 00 6f 00  |E.N.A.M.E. .N.o.|
00000190  41 00 64 00 64 00 69 00  6e 00 67 00 43 00 68 00  |A.d.d.i.n.g.C.h.|
000001a0  61 00 6e 00 6e 00 65 00  6c 00 73 00 0d 00 0a 00  |a.n.n.e.l.s.....|
000001b0  09 00 09 00 09 00 45 00  4e 00 44 00 20 00 00 fe  |......E.N.D. ...|
000001c0  ff ff 82 fe ff ff 02 00  00 00 00 90 7a 00 00 00  |............z...|
000001d0  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


~Elijah





Re: Reconciling multiple GrUBs and development... 
Hide Details 
FROM:
    * Jordan Uggla   
TO:
    * Eli Riedlinger   
Message flagged 
Sunday, September 25, 2011 9:32 PM
Message bodyYou once again sent an html email. This made your email all but
unreadable on my phone or I would have responded the same day you sent
it. You also forgot to CC address@hidden Please re-send your
reply, as a plain text email (make sure your client is configured to
send plain text emails) and CC help-grub in your message. If you don't
do both of those things then I will simply ignore any further replies
from you. If however you do send a plain text mail and CC help-grub
I'd be happy to help further :)

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)


----- Forwarded Message -----
From: Eli Riedlinger <address@hidden>
To: Jordan Uggla <address@hidden>
Sent: Saturday, September 24, 2011 8:27 PM
Subject: Re: Reconciling multiple GrUBs and development...


I downloaded the script and saved it on my internal hard drive...

That was unaccessible under Linux Mint recovery terminal...

Though I was able to login to my Mint account and see my files...

I was unable to access the internal hard drive from Mint, so I could not run 
the boot info script from that os...


I did a kernel update, though afterwards, Linux Mint still stalled reboot and 
Mint gui login...


I did successfully run the boot info script under Xubuntu which was installed 
via wubi...

The terminal output was:


boot_info_script version: 0.60        [17 May 2011]


"gawk" could not be found, using "busybox awk" instead.
This may lead to unreliable results.

Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Searching sda1 for information... 
Searching sda1/Wubi for information... 
Searching sdb1 for information... 
Searching sdb2 for information... 
Searching sdb5 for information... 

Finished. The results are in the file "RESULTS.txt"
located in "/host/Downloads/Boot Info Script/".



The RESULTS.txt had in it the following contents...

                  Boot Info Script 0.60    from 17 May 2011


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

 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 1 for (,msdos1)/boot/grub.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM /wubildr 
                       /ubuntu/winboot/wubildr /wubildr.mbr 
                       /ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk 
                       /ubuntu/disks/swap.disk

sda1/Wubi: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 11.04
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb1:
__________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Linux Mint 10 Julia
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -

Boot sector info:  

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60.0 GB, 60011642880 bytes
240 heads, 63 sectors/track, 7752 cylinders, total 117210240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   117,210,239   117,210,177   7 NTFS / exFAT / 
HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371568 sectors
Units = sectors of 1 *
512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048   187,336,703   187,334,656  83 Linux
/dev/sdb2         187,338,750   195,371,007     8,032,258   5 Extended
/dev/sdb5         187,338,752   195,371,007     8,032,256  82 Linux swap / 
Solaris


"blkid" output: ________________________________________________________________

Device          
UUID                                   TYPE       LABEL

/dev/loop0       a626050f-0b9c-49b5-b522-e4b341c68a7b   ext4       
/dev/sda1        5EB81847B8181FD7                       ntfs       
/dev/sdb1        ac90df66-6062-426d-a5e3-10a1ce27cbbf   ext4       
/dev/sdb5        581fa238-ef5d-477e-87d0-17da6cdf9744   swap       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /                        ext4       
(rw,errors=remount-ro,commit=0)
/dev/sda1        /host                    fuseblk    
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


================================ sda1/boot.ini:
================================

--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" 
/noexecute=optin /fastdetect
C:\wubildr.mbr = "Xubuntu"
--------------------------------------------------------------------------------

======================== sda1/Wubi/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 {
true
}

insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
if [
"${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=100
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 ###
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
menuentry "Ubuntu, Linux 2.6.38-11-generic" {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.38-11-generic root=UUID=5EB81847B8181FD7 
loop=/ubuntu/disks/root.disk ro  splash  quiet splash
    initrd
/boot/initrd.img-2.6.38-11-generic
}
menuentry "Ubuntu, Linux 2.6.38-11-generic (recovery mode)" {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.38-11-generic root=UUID=5EB81847B8181FD7 
loop=/ubuntu/disks/root.disk ro single  splash
    initrd /boot/initrd.img-2.6.38-11-generic
}
menuentry "Ubuntu, Linux 2.6.38-8-generic" {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    loopback loop0 /ubuntu/disks/root.disk
    set
root=(loop0)
    linux /boot/vmlinuz-2.6.38-8-generic root=UUID=5EB81847B8181FD7 
loop=/ubuntu/disks/root.disk ro  splash  quiet splash
    initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry "Ubuntu, Linux 2.6.38-8-generic (recovery mode)" {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    loopback loop0 /ubuntu/disks/root.disk
    set root=(loop0)
    linux /boot/vmlinuz-2.6.38-8-generic root=UUID=5EB81847B8181FD7 
loop=/ubuntu/disks/root.disk ro single  splash
    initrd /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_lupin ###

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

### BEGIN
/etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" --class windows 
--class os {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 5EB81847B8181FD7
    drivemap -s (hd0) ${root}
    chainloader +1
}
menuentry "Linux Mint 10, 2.6.35-22-generic (/dev/sdb1) (on /dev/sdb1)" --class 
gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod ext2
    set root='(/dev/sdb,msdos1)'
    search --no-floppy --fs-uuid --set=root ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux /boot/vmlinuz-2.6.35-22-generic 
root=UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf ro splash
quiet splash
    initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry "Linux Mint 10, 2.6.35-22-generic (/dev/sdb1) -- recovery mode (on 
/dev/sdb1)" --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod ext2
    set root='(/dev/sdb,msdos1)'
    search --no-floppy --fs-uuid --set=root ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux /boot/vmlinuz-2.6.35-22-generic 
root=UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf ro single splash
    initrd /boot/initrd.img-2.6.35-22-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 ###
--------------------------------------------------------------------------------

============================= sda1/Wubi/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
/host/ubuntu/disks/root.disk /               ext4    loop,errors=remount-ro 0   
    1
/host/ubuntu/disks/swap.disk none            swap    loop,sw         0       0
--------------------------------------------------------------------------------

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

           GiB - GB            
File                                 Fragment(s)

   4.720001221 = 5.068062720    boot/grub/grub.cfg                             1
   3.562500000 = 3.825205248    boot/initrd.img-2.6.38-11-generic              2
   1.410381317 = 1.514385408    boot/initrd.img-2.6.38-8-generic               1
   3.074527740 = 3.301249024   
boot/vmlinuz-2.6.38-11-generic                 1
   0.987464905 = 1.060282368    boot/vmlinuz-2.6.38-8-generic                  1
   3.562500000 = 3.825205248    initrd.img                                     2
   1.410381317 = 1.514385408    initrd.img.old                                 1
   3.074527740 = 3.301249024   
vmlinuz                                        1
   0.987464905 = 1.060282368    vmlinuz.old                                    1

=========================== sdb1/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 part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
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='(hd1,msdos1)'
search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
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/06_mint_theme ###
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
insmod png
if background_image /boot/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 10, 2.6.35-22-generic (/dev/sdb1)' --class linuxmint 
--class gnu-linux --class gnu --class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux    /boot/vmlinuz-2.6.35-22-generic 
root=UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf ro  splash  quiet splash
    initrd    /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Linux Mint 10, 2.6.35-22-generic (/dev/sdb1) -- recovery mode' 
--class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    insmod
part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
    echo    'Loading Linux 2.6.35-22-generic ...'
    linux    /boot/vmlinuz-2.6.35-22-generic 
root=UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf ro single  splash
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### 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='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set ac90df66-6062-426d-a5e3-10a1ce27cbbf
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos1)'
    search --no-floppy --fs-uuid --set 5eb81847b8181fd7
    drivemap -s (hd0)
${root}
    chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sdb1/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/sdc1 during installation
UUID=ac90df66-6062-426d-a5e3-10a1ce27cbbf /               ext4    
errors=remount-ro 0       1
# swap was on /dev/sdc5 during installation
UUID=581fa238-ef5d-477e-87d0-17da6cdf9744 none            swap   
sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  72.135005951 = 77.454372864   boot/grub/core.img                             1
   2.493976593 = 2.677886976   
boot/grub/grub.cfg                             2
  69.891834259 = 75.045785600   boot/initrd.img-2.6.35-22-generic              1
  72.133197784 = 77.452431360   boot/vmlinuz-2.6.35-22-generic                 1
  69.891834259 = 75.045785600   initrd.img                                     1
  72.133197784 = 77.452431360  
vmlinuz                                        1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sdb2

00000000  74 00 20 00 45 00 78 00  70 00 6c 00 6f 00 72 00  |t. .E.x.p.l.o.r.|
00000010  65 00 72 00 5c 00 49 00  6e 00 66 00 6f 00 64 00  |e.r.\.I.n.f.o.d.|
00000020  65 00 6c 00 69 00 76 00  65 00 72 00 79 00 5c 00  |e.l.i.v.e.r.y.\.|
00000030  52 00 65 00 73 00 74 00  72 00 69 00 63 00 74 00  |R.e.s.t.r.i.c.t.|
00000040  69 00 6f 00 6e 00 73 00  22 00 0d 00 0a 00 09 00  |i.o.n.s.".......|
00000050  09 00 09 00 50 00 4f 00  4c 00 49 00 43 00 59 00 
|....P.O.L.I.C.Y.|
00000060  20 00 21 00 21 00 4e 00  6f 00 41 00 64 00 64 00  | .!.!.N.o.A.d.d.|
00000070  69 00 6e 00 67 00 43 00  68 00 61 00 6e 00 6e 00  |i.n.g.C.h.a.n.n.|
00000080  65 00 6c 00 73 00 0d 00  0a 00 0d 00 0a 00 0d 00  |e.l.s...........|
00000090  0a 00 09 00 09 00 09 00  09 00 23 00 69 00 66 00  |..........#.i.f.|
000000a0  20 00 76 00 65 00 72 00  73 00 69 00 6f 00 6e 00  | .v.e.r.s.i.o.n.|
000000b0  20 00 3e 00 3d 00 20 00  34 00 0d 00 0a 00 09 00  | .>.=. .4.......|
000000c0  09 00 09 00 09 00 53 00  55 00 50 00 50 00 4f 00  |......S.U.P.P.O.|
000000d0  52 00 54 00 45 00 44 00  20 00 21 00 21 00 53 00  |R.T.E.D. .!.!.S.|
000000e0  55 00 50 00 50 00 4f 00  52 00 54 00 45 00 44 00  |U.P.P.O.R.T.E.D.|
000000f0  5f 00 49 00 45 00 35 00  0d 00 0a 00 09 00 09
00  |_.I.E.5.........|
00000100  09 00 09 00 23 00 65 00  6e 00 64 00 69 00 66 00  |....#.e.n.d.i.f.|
00000110  0d 00 0a 00 0d 00 0a 00  0d 00 0a 00 09 00 09 00  |................|
00000120  09 00 09 00 45 00 58 00  50 00 4c 00 41 00 49 00  |....E.X.P.L.A.I.|
00000130  4e 00 20 00 21 00 21 00  49 00 45 00 5f 00 45 00  |N. .!.!.I.E._.E.|
00000140  78 00 70 00 6c 00 61 00  69 00 6e 00 4e 00 6f 00  |x.p.l.a.i.n.N.o.|
00000150  41 00 64 00 64 00 69 00  6e 00 67 00 43 00 68 00  |A.d.d.i.n.g.C.h.|
00000160  61 00 6e 00 6e 00 65 00  6c 00 73 00 0d 00 0a 00  |a.n.n.e.l.s.....|
00000170  09 00 09 00 09 00 09 00  56 00 41 00 4c 00 55 00  |........V.A.L.U.|
00000180  45 00 4e 00 41 00 4d 00  45 00 20 00 4e 00 6f 00  |E.N.A.M.E. .N.o.|
00000190  41 00 64 00 64 00 69 00  6e 00 67 00 43 00
68 00  |A.d.d.i.n.g.C.h.|
000001a0  61 00 6e 00 6e 00 65 00  6c 00 73 00 0d 00 0a 00  |a.n.n.e.l.s.....|
000001b0  09 00 09 00 09 00 45 00  4e 00 44 00 20 00 00 fe  |......E.N.D. ...|
000001c0  ff ff 82 fe ff ff 02 00  00 00 00 90 7a 00 00 00  |............z...|
000001d0  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


~Elijah




________________________________
From: Jordan Uggla <address@hidden>
To: Eli Riedlinger <address@hidden>
Cc: "address@hidden" <address@hidden>
Sent: Saturday, September 24, 2011 5:15 PM
Subject: Re: Reconciling multiple GrUBs and development...

First, I would like to mention that it is bad netiquette to send HTML
email to technical mailing lists like help-grub. Please stick to plain
text in the future.

On Fri, Sep 23, 2011 at 9:55 AM, Eli Riedlinger <address@hidden> wrote:
> To whomever may wish to comment on any issue mentioned herein...
>
> I operate an IBM ThinkPad...
> If I do not have a certain mostly full 90+GB USB drive plugged in I get the
> message:
>  "error: no such device
ac9......-....-....-....-.......... ."
>   "grub rescue >"

This error means that your bios booted from a drive whose master boot
record and post-mbr gap held a grub installation's boot sector and
core.img, but this core.img was looking for /boot/grub on another
drive. A drive which was not accessible to the BIOS (and therefore to
grub) at the time you received this error. Most likely it wasn't
accessible because it simply wasn't plugged in or the partition that
once contained that /boot/grub/ has been deleted.

>
> I have no idea how to respond to this except to re-plug in the USB drive and
> manually reboot...
>
> If the 90+GB USB drive is plugged in boots to GNU Grub V 198+20100804-5
> ubuntu 3-1mint1
> This GrUB gives me the following main boot options:
>   Linux Mint 10,2.6.35-2-generic (/dev/sdb1)
>   Linux Mint ... recovery ... [which I do not
know how to use...]
>   2 Memory check options and...
>   Microsoft Windows XQ Professional (/dev/sda1?)
> Linux Mint is installed on the 90+GB USB drive  and boots fine to the login
> screen
>
> Then upon login Linux Mint stalls, probably because of one or more bad or
> incompatible packages installed...
> Under Windows I have installed Wubi XUbuntu...
> So when I select the Windows option, I get next get what appears to be a
> Windows boot menu:
>
> "Please select the operating system to start
>   "Microsoft Windows XQ Professional
>   "Xubuntu
> "use...keys...to your choice"
> "Press ENTER to choose
>
> "For ... options for Windows, press F8"
>
> If I select the Windows option, it boots and runs just fine, except that
> hard drive is almost full and cannot read either Linux information except
>
apparently the Linux Mint and XUbuntu grub files in main directories on c:\
>
> If I select Xubuntu, a SECOND GrUB shows up with the following sub-boot
> options:
>   Ubuntu Linux 2.6.38-11-generic
>   Ubuntu Linux 2.6.38-8-generic
>   Mirosoft Windows XP Professional (on dev/sda1) [which I have not selected]
>   Linux Mint 10, 2.6.35-22-generic (.dev/sdb1) (on dev/sdb1)...
> I generally just select Ubuntu...-11... and that is from where this email is
> being sent...
>
> I have not yet run Windows or Linux Mint from this third boot menu...
>
> XUbuntu boots up fine from that menu, though I have not yet tried Windows
> Linux Mint from the second GrUB menu...
>
> The main issue is that I'm afraid to try to install any other OS because I
> fear I will lose the ability to boot this computer...
>
> I thought that if Linux was
installed on a USB drive, that OS could be
> booted from any computer, though that is not the current functioning...
>
> The Linux Mint directories are accessable from XUbuntu, though not my
> downloads in the login folder, which are probably using up most of the drive
> and I would like to recover if possible...
> I need to:
>   1) if possible recover the files from the Linux Mint home sub-directory
>   2) reconcile the three boot menus so I can go directly to any OS directly
> from one boot menu
>   3) regain access to the storage available on the 90+GB USB drive for
> further development goals
>   4) set up the main ThinkPad drive so it can boot without a USB drive
> plugged in
>   5) set up the USB drive so it can boot to one or more versions of Linux
> and/or Ubuntu when plugged in
>   6) install Ubuntu 10 server, or another
version of Linux with server
> capabilities,
>         yet I know nothing about setting up or running a server
>   7) set up a version of Linux that can easily install a version of Pascal
> compiling to GNU...
>         (GNU Pascal is primarily only for Windows and Mac or Apple...)
>         (Free Pascal does not appear to compile to GNU...)
>   8) learn how much programming is possible just running GrUB
>   9) learn how much code it takes to make a GrUB and how to extend its
> functionality
>
> The concept of boot stages intrigues me, even though it currently only
> functions on my computer in a redundant fashion because of how Linux Mint
> limits the functionality of Windows, the fact that Windows basically cannot
> read Linux partitions on its own and the
reality that wubi installed Xubuntu
> under Windows and was therefore limited in its installation options to the
> drives visible from Windows, even though after installation, Xubuntu could
> at least see the folders in the Linux Mint drive...
>
> It is probably true that most versions of Linux share a lot of code and
> different Linux OS's share dependencies...

To be honest you may have given enough information here for me to
determine enough about your situation to give you a complete answer,
but it would be much easier for me if you could run boot info script
as explained here: http://ubuntuforums.org/showthread.php?t=1291280
and reply with the contents of the RESULTS.txt that boot info script
produces (simply inline in the email rather than an attachment, and
still plain text, would be most
convenient).

>
> I would like to install or program a version of Linux or Xen or other
> hypervisor that can do something like run different OS's in different
> workspaces, as if they all shared common GNU/CLR kernel code and just
> implemented different GUI desktop appearances on different workspace
> pages...  I once saw a program that could do that, though do not remember
> its name...
>
> If I knew enough about the hypervisor varierties, the various Linux versions
> with their many relevant packages available in the various package managers
> of the various Linux versions, also considering the possibility of sync
> functionality, something like that might already exist or possibly be built
> with existing software...
>
> GNU and various GrUBs interface with every hardware, though I don't yet
> comprehend exactly how much is set up under GrUB and
how much is left to the
> OS to setup...
>
> I apologize if I have gone beyond the scope of this message board...

Indeed, that is beyond the scope of help-grub.

>
> I have issues I need to resolve and ideas I wish to develop and the two are
> related in my mind...
>
> Sincerely, Elijah...
>
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub
>
>

To give you a more concrete answer specific to your situation I'll
need to see the boot info script output mentioned above, but in
general for any *non-wubi* installations of Ubuntu I would recommend
you boot said installation, plugging in whatever drives
necessary to
currently do so, then within that install run "sudo dpkg-reconfigure
grub-pc".

That command will prompt you for configuration options for the grub-pc
package. You are only interested in the "install devices" option, so
leave all other prompts at their default and continue. When you get to
the install devices question select the drive that contains the
partition you're currently booted from, and nothing else. Read that
last sentence carefully. For instance, if you have booted from an
Ubuntu installation on /dev/sdb5 you would want to select "sdb" as
your only install device (*not* sdb5). Select and unselect install
devices with space bar, continue on to the next prompt with Enter. And
once again, this does not apply to Wubi installations which are a bit
odd in how grub is dealt with.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)    

Attachment: RESULTS.txt
Description: Text document

Attachment: Wubi Kubuntu Terminal output.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]