PDA

View Full Version : [SOLVED] Easiest way to dual boot without losing present Ubuntu10.04Lts



F8M
February 7th, 2011, 08:59 PM
According to sudo fdisk -l command I have two drives.
My 100 GB storage drive is/dev/sdb1 - - -HPFS/NTFS system marked as not a boot drive, while my other drive 320.1 GB is marked as a boot drive.
Here is the info about my Ubuntu 10.4LTS 320.1GB drive:
/dev/sda1 - - - * - - - Linux
/dev/sda2 - - - - - - Extended
/dev/sda5 - - - - - - Linux swap/Solaris

I intend to Dual boot Linux(or Ubuntu 10.04LTS) / Windows Vista.
According to the info about my motherboard, it is not compatible to Windows 7. It is compatible only to Vista/XP/2000.

presence1960
February 7th, 2011, 09:17 PM
If you have a retail Vista disk you can shrink sda1 to create space for Vista. Do this by booting the Ubuntu Live CD/USB. Choose "try ubuntu." When the desktop loads open gparted (System > Administration > Gparted Partition Editor. Resize sda1 to make space for Vista. You can leave the space as unallocated or create a primary NTFS partition from the space. When completed reboot with the Vista DVD and install to the unallocated space or the primary NTFS partition. When install is complete reboot and make sure Vista boots OK.

Next you must reset the MBR to use GRUB 2. Boot the ubuntu Live CD/USB. Choose "try ubuntu." When the desktop loads open a terminal and run
sudo mount /dev/sda1 /mntThis will mount your ubuntu / partition.

Next in terminal run
sudo grub-install --root-directory=/mnt/ /dev/sda
Reboot without Live CD/USB and you should be good to go.

F8M
February 7th, 2011, 09:32 PM
If I bought this computer with Vista Basic installed, should I assume that the mbr is Windows Vista. How do I go about checking if the mbr is Ubuntu/Linux or Windows Vista??
Thanks for the quick reply.

presence1960
February 7th, 2011, 09:42 PM
If I bought this computer with Vista Basic installed, should I assume that the mbr is Windows Vista. How do I go about checking if the mbr is Ubuntu/Linux or Windows Vista??
Thanks for the quick reply.

If you have ubuntu only the MBR is set to use GRUB 2. Once you install windows it will be reset to use windows boot loader. At that point if you want a dual boot set up you must again reset it to use GRUB 2, or you will not be able to boot ubuntu.

F8M
February 7th, 2011, 10:56 PM
How do I check if my mbr is Linux or Windows.

mikewhatever
February 7th, 2011, 11:05 PM
MBR is a sector, it can be neither Linux nor Windows. :p

oldfred
February 7th, 2011, 11:09 PM
Run the boot script in presense1960's signature and it will tell you what is in each MBR and lots of other info related to booting.

F8M
February 8th, 2011, 01:33 AM
How do you run the boot script in presense1960's signature. Which command do you write in the Terminal. Thanks

presence1960
February 8th, 2011, 01:43 AM
How do you run the boot script in presense1960's signature. Which command do you write in the Terminal. Thanks

Let's get a better look at your setup & boot process. Boot into Ubuntu. Come back here and do the following:

1. Download the boot info script. There is a link in my signature.
2. Move the boot info script to the desktop.
3. Open a terminal and run the command
sudo bash ~/Desktop/boot_info_script*.sh

This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

See here (http://bootinfoscript.sourceforge.net/) for more info on the boot info script.

This is unnecessary because you only have Linux on sda, therefore your MBR is set to use GRUB, not windows boot loader

F8M
February 9th, 2011, 12:51 AM
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 #1 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb

sda1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.2 LTS
Boot files/dirs: /grub/grub.cfg /boot/grub/grub.cfg /etc/fstab
/grub/core.img /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:

sdb1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 613,111,807 613,109,760 83 Linux
/dev/sda2 613,113,854 625,141,759 12,027,906 5 Extended
/dev/sda5 613,113,856 625,141,759 12,027,904 82 Linux swap / Solaris


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 End Size Id System

/dev/sdb1 2,048 195,366,887 195,364,840 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda1 0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 b71c468a-fdb9-4bfa-9ce7-1368550ca01b swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 5842DB8842DB6970 ntfs 100GB Drive
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found

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

Device Mount_Point Type Options

/dev/sda1 / ext4 (rw,errors=remount-ro)
/dev/sdb1 /media/100GB Drive fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_ permissions)


============================= sda1/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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
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
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
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 ###
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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/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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
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
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
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.32-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux /boot/vmlinuz-2.6.32-29-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro quiet splash
initrd /boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-29-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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
echo 'Loading Linux 2.6.32-29-generic ...'
linux /boot/vmlinuz-2.6.32-29-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro quiet splash
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
echo 'Loading Linux 2.6.32-28-generic ...'
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro quiet splash
initrd /boot/initrd.img-2.6.32-27-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-27-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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
echo 'Loading Linux 2.6.32-27-generic ...'
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-27-generic
}
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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro 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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro single
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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=b71c468a-fdb9-4bfa-9ce7-1368550ca01b none swap sw 0 0

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


51.6GB: boot/grub/core.img
52.7GB: boot/grub/grub.cfg
51.7GB: boot/initrd.img-2.6.32-24-generic
51.8GB: boot/initrd.img-2.6.32-27-generic
51.8GB: boot/initrd.img-2.6.32-28-generic
24.4GB: boot/initrd.img-2.6.32-29-generic
51.6GB: boot/vmlinuz-2.6.32-24-generic
51.6GB: boot/vmlinuz-2.6.32-27-generic
51.8GB: boot/vmlinuz-2.6.32-28-generic
53.0GB: boot/vmlinuz-2.6.32-29-generic
124.6GB: grub/core.img
124.6GB: grub/grub.cfg
24.4GB: initrd.img
51.8GB: initrd.img.old
53.0GB: vmlinuz
51.8GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 ba 9b 5d 68 93 3c 9b 3c c7 09 eb 91 22 39 d3 69 |..]h.<.<...."9.i|
00000010 53 88 bd 9f 01 c1 e9 38 6a 4a 8c 60 06 d8 60 0d |S......8jJ.`..`.|
00000020 99 67 43 0c e9 b8 ce 36 ae bd ab af 1d 17 3b 8c |.gC....6......;.|
00000030 1b 10 eb ba d1 38 a4 b6 97 e1 61 b9 b6 05 f1 4d |.....8....a....M|
00000040 ec b7 93 4f 84 c8 e7 d8 b4 28 7b 83 d3 00 e9 b4 |...O.....({.....|
00000050 2f 82 80 1f 88 06 34 07 bd 9c 07 4d 3e bc 63 8e |/.....4....M>.c.|
00000060 cf 1b 11 6c 7a 91 e7 bc 4c aa 41 29 41 29 88 51 |...lz...L.A)A).Q|
00000070 99 67 44 0c 09 b9 ff 17 77 7d fb f9 fd b8 a1 90 |.gD.....w}......|
00000080 23 5a 10 3e cf f1 a6 d6 d4 96 36 40 9b 6c 45 98 |#Z.>......6@.lE.|
00000090 16 3f e2 ef e4 1a e3 ce 92 01 22 a6 a2 4e f1 bd |.?........"..N..|
000000a0 ce ad a9 7a 6c 00 96 67 84 2c 8e 0a 13 3b 11 32 |...zl..g.,...;.2|
000000b0 11 64 39 10 44 03 f2 b5 e6 a1 27 13 9b 35 a1 41 |.d9.D.....'..5.A|
000000c0 99 67 45 0c 90 36 41 79 2c 4e 30 4b b1 b9 82 71 |.gE..6Ay,N0K...q|
000000d0 07 81 90 36 45 34 82 43 b1 13 4b 63 3c e1 a7 80 |...6E4.C..Kc<...|
000000e0 90 36 da 21 60 a8 68 d0 22 96 72 ae 93 f0 90 36 |.6.!`.h.".r....6|
000000f0 92 30 07 e9 b1 51 45 21 f4 51 c1 07 00 36 49 85 |.0...QE!.Q...6I.|
00000100 c2 87 06 8b c3 42 00 36 0e c6 f6 00 00 00 00 00 |.....B.6........|
00000110 99 67 46 0c f8 af e7 8f e5 f8 e4 f6 47 73 2f 33 |.gF.........Gs/3|
00000120 37 af df 25 9a ff 17 f5 37 7a d6 d6 93 aa 56 45 |7..%....7z....VE|
00000130 ff 2b fd ff 7f b9 d5 cf d6 db 45 4b 73 5f f2 2f |.+........EKs_./|
00000140 e4 4f e4 1d fb 3a b9 32 c2 63 66 51 1c bb 66 76 |.O...:.2.cfQ..fv|
00000150 2c 51 8e 86 5a 15 f0 b4 41 5c 47 0d 82 85 74 c0 |,Q..Z...A\G...t.|
00000160 99 67 47 0c ef af 5e c8 fa b1 e7 fa 11 db b4 ee |.gG...^.........|
00000170 ce 81 fb 2f e3 1b d2 47 34 9f 57 42 0b 31 8d c4 |.../...G4.WB.1..|
00000180 09 2b fb 60 22 a5 99 d4 ea f3 61 b0 e7 1d 0e 2c |.+.`".....a....,|
00000190 ff c6 7d f9 4d 24 27 50 00 14 0a 10 25 3d d3 52 |..}.M$'P....%=.R|
000001a0 b9 93 03 03 ac 28 e7 3b 03 c3 38 17 03 85 1c 71 |.....(.;..8....q|
000001b0 99 67 48 0c ec 20 1c 70 bc 9c 4e 2d 5a 50 00 fe |.gH.. .p..N-ZP..|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 88 b7 00 00 00 |................|
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


=======Devices which don't seem to have a corresponding hard drive==============

sdc

F8M
February 9th, 2011, 12:59 AM
One Last question before I dual boot - Do I have Grub 2 or the old Grub that would need to be updated. Before I dual boot, I think this is an important detail to be fix, or is it.
Thank you.

presence1960
February 9th, 2011, 05:04 AM
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 #1 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb

sda1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.2 LTS
Boot files/dirs: /grub/grub.cfg /boot/grub/grub.cfg /etc/fstab
/grub/core.img /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:

sdb1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 613,111,807 613,109,760 83 Linux
/dev/sda2 613,113,854 625,141,759 12,027,906 5 Extended
/dev/sda5 613,113,856 625,141,759 12,027,904 82 Linux swap / Solaris


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 End Size Id System

/dev/sdb1 2,048 195,366,887 195,364,840 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda1 0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 b71c468a-fdb9-4bfa-9ce7-1368550ca01b swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 5842DB8842DB6970 ntfs 100GB Drive
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found

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

Device Mount_Point Type Options

/dev/sda1 / ext4 (rw,errors=remount-ro)
/dev/sdb1 /media/100GB Drive fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_ permissions)


============================= sda1/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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
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
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
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 ###
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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/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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
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
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
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.32-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux /boot/vmlinuz-2.6.32-29-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro quiet splash
initrd /boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-29-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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
echo 'Loading Linux 2.6.32-29-generic ...'
linux /boot/vmlinuz-2.6.32-29-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro quiet splash
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
echo 'Loading Linux 2.6.32-28-generic ...'
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro quiet splash
initrd /boot/initrd.img-2.6.32-27-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-27-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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
echo 'Loading Linux 2.6.32-27-generic ...'
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-27-generic
}
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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro 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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 ro single
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 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0b54f8c5-9c78-4c95-8494-bb38cfacdf98
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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=0b54f8c5-9c78-4c95-8494-bb38cfacdf98 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=b71c468a-fdb9-4bfa-9ce7-1368550ca01b none swap sw 0 0

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


51.6GB: boot/grub/core.img
52.7GB: boot/grub/grub.cfg
51.7GB: boot/initrd.img-2.6.32-24-generic
51.8GB: boot/initrd.img-2.6.32-27-generic
51.8GB: boot/initrd.img-2.6.32-28-generic
24.4GB: boot/initrd.img-2.6.32-29-generic
51.6GB: boot/vmlinuz-2.6.32-24-generic
51.6GB: boot/vmlinuz-2.6.32-27-generic
51.8GB: boot/vmlinuz-2.6.32-28-generic
53.0GB: boot/vmlinuz-2.6.32-29-generic
124.6GB: grub/core.img
124.6GB: grub/grub.cfg
24.4GB: initrd.img
51.8GB: initrd.img.old
53.0GB: vmlinuz
51.8GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 ba 9b 5d 68 93 3c 9b 3c c7 09 eb 91 22 39 d3 69 |..]h.<.<...."9.i|
00000010 53 88 bd 9f 01 c1 e9 38 6a 4a 8c 60 06 d8 60 0d |S......8jJ.`..`.|
00000020 99 67 43 0c e9 b8 ce 36 ae bd ab af 1d 17 3b 8c |.gC....6......;.|
00000030 1b 10 eb ba d1 38 a4 b6 97 e1 61 b9 b6 05 f1 4d |.....8....a....M|
00000040 ec b7 93 4f 84 c8 e7 d8 b4 28 7b 83 d3 00 e9 b4 |...O.....({.....|
00000050 2f 82 80 1f 88 06 34 07 bd 9c 07 4d 3e bc 63 8e |/.....4....M>.c.|
00000060 cf 1b 11 6c 7a 91 e7 bc 4c aa 41 29 41 29 88 51 |...lz...L.A)A).Q|
00000070 99 67 44 0c 09 b9 ff 17 77 7d fb f9 fd b8 a1 90 |.gD.....w}......|
00000080 23 5a 10 3e cf f1 a6 d6 d4 96 36 40 9b 6c 45 98 |#Z.>......6@.lE.|
00000090 16 3f e2 ef e4 1a e3 ce 92 01 22 a6 a2 4e f1 bd |.?........"..N..|
000000a0 ce ad a9 7a 6c 00 96 67 84 2c 8e 0a 13 3b 11 32 |...zl..g.,...;.2|
000000b0 11 64 39 10 44 03 f2 b5 e6 a1 27 13 9b 35 a1 41 |.d9.D.....'..5.A|
000000c0 99 67 45 0c 90 36 41 79 2c 4e 30 4b b1 b9 82 71 |.gE..6Ay,N0K...q|
000000d0 07 81 90 36 45 34 82 43 b1 13 4b 63 3c e1 a7 80 |...6E4.C..Kc<...|
000000e0 90 36 da 21 60 a8 68 d0 22 96 72 ae 93 f0 90 36 |.6.!`.h.".r....6|
000000f0 92 30 07 e9 b1 51 45 21 f4 51 c1 07 00 36 49 85 |.0...QE!.Q...6I.|
00000100 c2 87 06 8b c3 42 00 36 0e c6 f6 00 00 00 00 00 |.....B.6........|
00000110 99 67 46 0c f8 af e7 8f e5 f8 e4 f6 47 73 2f 33 |.gF.........Gs/3|
00000120 37 af df 25 9a ff 17 f5 37 7a d6 d6 93 aa 56 45 |7..%....7z....VE|
00000130 ff 2b fd ff 7f b9 d5 cf d6 db 45 4b 73 5f f2 2f |.+........EKs_./|
00000140 e4 4f e4 1d fb 3a b9 32 c2 63 66 51 1c bb 66 76 |.O...:.2.cfQ..fv|
00000150 2c 51 8e 86 5a 15 f0 b4 41 5c 47 0d 82 85 74 c0 |,Q..Z...A\G...t.|
00000160 99 67 47 0c ef af 5e c8 fa b1 e7 fa 11 db b4 ee |.gG...^.........|
00000170 ce 81 fb 2f e3 1b d2 47 34 9f 57 42 0b 31 8d c4 |.../...G4.WB.1..|
00000180 09 2b fb 60 22 a5 99 d4 ea f3 61 b0 e7 1d 0e 2c |.+.`".....a....,|
00000190 ff c6 7d f9 4d 24 27 50 00 14 0a 10 25 3d d3 52 |..}.M$'P....%=.R|
000001a0 b9 93 03 03 ac 28 e7 3b 03 c3 38 17 03 85 1c 71 |.....(.;..8....q|
000001b0 99 67 48 0c ec 20 1c 70 bc 9c 4e 2d 5a 50 00 fe |.gH.. .p..N-ZP..|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 88 b7 00 00 00 |................|
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


=======Devices which don't seem to have a corresponding hard drive==============

sdc



This confirms what I told you earlier. Follow my instructions in post #2!