LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 06-26-2012, 10:32 PM   #1
bth73
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Rep: Reputation: Disabled
grub/boot problem: the disk drive for /windows/c is not yet ready or is not present


Mint 9x64bit old install. Installed new dvd drive and now have grub errors. Removed new dvd and went back to old hdwr configuration. Started with error 21, then next boot try was error 15. Tried many ways to reinstall grub. IE: rescatux, boot repair, editing grub, installing another instance of mint 9 as dual boot. (Never had windows installed, do not own a copy of windows.) Now grub is there, but boot stalls with message "the disk drive for /windows/c is not yet ready or is not present". also since editing grub 2nd mint 9 is not in menu. (just for info 2nd install not wanted, will resize partition if it can be fixed.
Can not find fix on my own, spent 24hrs so far. Seams all other post relate to dual-boot with windows.

PLEASE, I need one on one knowledgeable help, with step by step instructions.
I am a magnet for the weird problems. Yesterday started with a new cable box install, had 120VAC on ground of cable, when other end of cable was checked it was gone. Then wall socket lost power, (loose screws), had to replace. (comp was off) Then after all that, cause I had to move all my stuff, I decided to replace old failing pata/IDE dvd, with new sata dvd, and here I am. Mother board is Gigabyte GA K8Ns Ultra 939, and has 4 sata and 4 pata/IDE channels, running dual-core bios for athlon 3800+ w4gig ddr mem, (MB max 3gig). For some reason it will not boot from sata dvd. so put IDE dvd back. The dvd replacement is what caused this. Moved hard drive to different channel before with no problem. Did not change HD position this time. Why did this happen?
fstab (/etc) - edit :
aufs / aufs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda5 swap swap defaults 0 0
/dev/sda7 swap swap defaults 0 0
sudo fdisk -l :
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000941a1

Device Boot Start End Blocks Id System
/dev/sda1 * 1 115602 928570520 83 Linux
/dev/sda2 115602 121602 48189441 5 Extended
/dev/sda5 120474 121602 9057280 82 Linux swap / Solaris
/dev/sda6 115602 120269 37480448 83 Linux
/dev/sda7 120269 120474 1645568 82 Linux swap / Solaris

Partition table entries are not in disk order
trying:
http://www.nyutech.com/2009/03/make-...nd-drives.html

Last edited by bth73; 06-26-2012 at 11:36 PM. Reason: more info
 
Old 06-27-2012, 09:19 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
The best resource for information on boot problems is the bootinfoscript. Boot from any Linux Live CD, go to the site below, read the instructions, download and run the script and post the output here;

http://sourceforge.net/projects/bootinfoscript/
 
Old 06-27-2012, 03:02 PM   #3
bth73
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
nothing works right

The results:
||--|| *
bt@bt-desktop ~ $ sudo bash ~/Desktop/boot_info_script.sh
[sudo] password for bt:
bash: /home/bt/Desktop/boot_info_script.sh: No such file or directory
bt@bt-desktop ~ $

Keep getting errors with almost every proposed fix or instructions. Looks like bad info. File name is "bootinfoscript", yet the instructions use "boot_info_script.sh". What is with the underscores? what about the .sh? MORONS, MORONS, RETARDED MORONS. CAN'T GIVE CORRECT INSTRUCTIONS!

bt@bt-desktop ~ $ sudo bash ~/Desktop/bootinfoscript.sh
[sudo] password for bt:
bash: /home/bt/Desktop/bootinfoscript.sh: No such file or directory
bt@bt-desktop ~ $ sudo bash ~/Desktop/bootinfoscript

Boot Info Script 0.61 [1 April 2012]

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

Finished. The results are in the file "RESULTS.txt"
located in "/home/bt/Desktop/".

Boot Info Script 0.61 [1 April 2012]


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

=> Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on boot
drive #2 in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb 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 /boot/grub.

sda1: __________________________________________________________________________ (THIS IS MEDIA DRIVE, NOT MAIN DRIVE)

File system: vfat
Boot sector type: FAT32
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 0. But according to the info from fdisk,
sda1 starts at sector 63.
Operating System:
Boot files:

sdb1: __________________________________________________________________________ (THIS IS MAIN DRIVE)

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 9 Isadora
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:

sdb6: __________________________________________________________________________ (This is where I installed mint9 as dualboot)

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

sdb7: __________________________________________________________________________

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

sdc: ___________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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 1,465,144,064 1,465,144,002 b W95 FAT32


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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 1,857,143,087 1,857,141,040 83 Linux
/dev/sdb2 1,857,144,830 1,953,523,711 96,378,882 5 Extended
/dev/sdb5 1,935,409,152 1,953,523,711 18,114,560 82 Linux swap / Solaris
/dev/sdb6 1,857,144,832 1,932,105,727 74,960,896 83 Linux
/dev/sdb7 1,932,107,776 1,935,398,911 3,291,136 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 B0FF-1537 vfat
/dev/sdb1 7ca8ad00-2177-45c8-bcee-48e18571da58 ext4
/dev/sdb5 d7739a58-d4ca-46a4-a899-499ed3abd682 swap
/dev/sdb6 5a9f409a-09d3-45b4-9aa6-10e60b14713d ext4
/dev/sdb7 47e12a78-9b66-412c-9f46-4ca4e86a6604 swap
/dev/sdc 8607e428-757e-4a34-8c4a-38b8e2fdf45a ext4 New Volume

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

Device Mount_Point Type Options

/dev/sda1 /windows/C vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,iocharset=iso8859-15)
/dev/sdb1 / ext4 (rw)
/dev/sdc /media/New Volume ext4 (rw,nosuid,nodev,uhelper=udisks)


=========================== sdb1/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 7ca8ad00-2177-45c8-bcee-48e18571da58
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 7ca8ad00-2177-45c8-bcee-48e18571da58
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=12
else
set timeout=12
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 ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
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 9, 2.6.32-41-generic (/dev/sda1)" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-41-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-41-generic
}
menuentry "Linux Mint 9, 2.6.32-41-generic (/dev/sda1) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
echo 'Loading Linux 2.6.32-41-generic ...'
linux /boot/vmlinuz-2.6.32-41-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-41-generic
}
menuentry "Linux Mint 9, 2.6.32-40-generic (/dev/sda1)" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-40-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-40-generic
}
menuentry "Linux Mint 9, 2.6.32-40-generic (/dev/sda1) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
echo 'Loading Linux 2.6.32-40-generic ...'
linux /boot/vmlinuz-2.6.32-40-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-40-generic
}
menuentry "Linux Mint 9, 2.6.32-38-generic (/dev/sda1)" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry "Linux Mint 9, 2.6.32-38-generic (/dev/sda1) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
echo 'Loading Linux 2.6.32-38-generic ...'
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry "Linux Mint 9, 2.6.32-37-generic (/dev/sda1)" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-37-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-37-generic
}
menuentry "Linux Mint 9, 2.6.32-37-generic (/dev/sda1) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
echo 'Loading Linux 2.6.32-37-generic ...'
linux /boot/vmlinuz-2.6.32-37-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-37-generic
}
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda1)" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda1) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
--------------------------------------------------------------------------------

=============================== 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/sda1 during installation
# swap was on /dev/sda5 during installation
UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 / ext4 defaults 1 1
/dev/disk/by-id/ata-ST3500630AS_9QG730MR-part1 /data1 auto noauto,user 0 0
/dev/disk/by-id/ata-ST3750640NA_P_3QD16417-part1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-15 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
/dev/disk/by-id/ata-WDC_WD1001FALS-00J7B0_WD-WMATV6747687-part5 swap swap default 0 0
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)

464.129482269 = 498.355236864 boot/grub/core.img 1
464.128692627 = 498.354388992 boot/grub/grub.cfg 1
517.069274902 = 555.198906368 boot/initrd.img-2.6.32-21-generic 1
467.397914886 = 501.864689664 boot/initrd.img-2.6.32-37-generic 1
22.893589020 = 24.581804032 boot/initrd.img-2.6.32-38-generic 2
22.881847382 = 24.569196544 boot/initrd.img-2.6.32-40-generic 2
596.772472382 = 640.779563008 boot/initrd.img-2.6.32-41-generic 1
464.147315979 = 498.374385664 boot/vmlinuz-2.6.32-21-generic 1
467.087139130 = 501.530996736 boot/vmlinuz-2.6.32-37-generic 1
477.998229980 = 513.246691328 boot/vmlinuz-2.6.32-38-generic 1
478.070838928 = 513.324654592 boot/vmlinuz-2.6.32-40-generic 1
478.078411102 = 513.332785152 boot/vmlinuz-2.6.32-41-generic 1
596.772472382 = 640.779563008 initrd.img 1
22.881847382 = 24.569196544 initrd.img.old 2
478.078411102 = 513.332785152 vmlinuz 1
478.070838928 = 513.324654592 vmlinuz.old 1

=========================== sdb6/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,6)'
search --no-floppy --fs-uuid --set 5a9f409a-09d3-45b4-9aa6-10e60b14713d
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,6)'
search --no-floppy --fs-uuid --set 5a9f409a-09d3-45b4-9aa6-10e60b14713d
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 ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 5a9f409a-09d3-45b4-9aa6-10e60b14713d
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 9, 2.6.32-21-generic (/dev/sda6)" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 5a9f409a-09d3-45b4-9aa6-10e60b14713d
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=5a9f409a-09d3-45b4-9aa6-10e60b14713d ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda6) -- recovery mode" --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 5a9f409a-09d3-45b4-9aa6-10e60b14713d
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=5a9f409a-09d3-45b4-9aa6-10e60b14713d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 5a9f409a-09d3-45b4-9aa6-10e60b14713d
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 5a9f409a-09d3-45b4-9aa6-10e60b14713d
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Linux Mint 9, 2.6.32-41-generic (/dev/sda1) (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-41-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-41-generic
}
menuentry "Linux Mint 9, 2.6.32-41-generic (/dev/sda1) -- recovery mode (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-41-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
initrd /boot/initrd.img-2.6.32-41-generic
}
menuentry "Linux Mint 9, 2.6.32-40-generic (/dev/sda1) (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-40-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-40-generic
}
menuentry "Linux Mint 9, 2.6.32-40-generic (/dev/sda1) -- recovery mode (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-40-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
initrd /boot/initrd.img-2.6.32-40-generic
}
menuentry "Linux Mint 9, 2.6.32-38-generic (/dev/sda1) (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry "Linux Mint 9, 2.6.32-38-generic (/dev/sda1) -- recovery mode (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry "Linux Mint 9, 2.6.32-37-generic (/dev/sda1) (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-37-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-37-generic
}
menuentry "Linux Mint 9, 2.6.32-37-generic (/dev/sda1) -- recovery mode (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-37-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
initrd /boot/initrd.img-2.6.32-37-generic
}
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda1) (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Linux Mint 9, 2.6.32-21-generic (/dev/sda1) -- recovery mode (on /dev/sda1)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ca8ad00-2177-45c8-bcee-48e18571da58
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=7ca8ad00-2177-45c8-bcee-48e18571da58 ro single
initrd /boot/initrd.img-2.6.32-21-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 ###
--------------------------------------------------------------------------------

=============================== sdb6/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=5a9f409a-09d3-45b4-9aa6-10e60b14713d / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
UUID=47e12a78-9b66-412c-9f46-4ca4e86a6604 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)

903.684272766 = 970.323599360 boot/grub/core.img 1
910.051925659 = 977.160814592 boot/grub/grub.cfg 1
903.756793976 = 970.401468416 boot/initrd.img-2.6.32-21-generic 1
903.710895538 = 970.352185344 boot/vmlinuz-2.6.32-21-generic 1
903.756793976 = 970.401468416 initrd.img 1
903.710895538 = 970.352185344 vmlinuz 1

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

Unknown BootLoader on sdb2

00000000 4c 98 91 be 71 21 e6 d8 34 de 44 d8 2b 03 a7 c2 |L...q!..4.D.+...|
00000010 9e 5a 19 1f 94 0a ad c7 a6 ba 44 f0 a8 45 c9 71 |.Z........D..E.q|
00000020 a3 29 de 7c 42 b1 4b 5c 3a c3 48 4d c7 08 f9 86 |.).|B.K\:.HM....|
00000030 e8 89 53 61 b5 38 d2 8e a7 7c 5c e3 6f 11 73 31 |..Sa.8...|\.o.s1|
00000040 13 65 07 c5 5a f1 0f 40 69 e3 50 16 15 fe 99 59 |.e..Z..@i.P....Y|
00000050 93 07 1c 2d 4e ad 7c 19 8a 73 af 38 08 4f 4f 15 |...-N.|..s.8.OO.|
00000060 e9 3e 06 58 46 08 3d 56 e2 79 d2 0d c6 46 45 6e |.>.XF.=V.y...FEn|
00000070 e1 e0 ab b5 02 b2 6e bc f8 89 91 bc 5b e2 71 0f |......n.....[.q.|
00000080 4c d3 6f f8 72 78 8d c1 5f 7b c2 83 61 5f 22 3a |L.o.rx.._{..a_":|
00000090 34 3c 08 75 7f dc de 30 30 7f 7a 4e 8a 93 9d 0a |4<.u...00.zN....|
000000a0 5a cb a4 61 99 3c 7b 82 a2 46 72 57 b8 f0 8b a5 |Z..a.<{..FrW....|
000000b0 2a 7e c6 75 f6 d5 46 4d 85 3f 3f 37 0a f8 6b f8 |*~.u..FM.??7..k.|
000000c0 90 63 f0 39 5b 0c 8b a7 94 2b fe 56 e7 48 e6 d8 |.c.9[....+.V.H..|
000000d0 6c d0 53 4b 87 02 cc 8d f4 64 5f e5 5f 6f 39 84 |l.SK.....d_._o9.|
000000e0 20 c6 9a 27 02 9f 4d e7 76 4c 2c 44 f6 b6 0e f0 | ..'..M.vL,D....|
000000f0 ff d5 33 d9 80 11 ee 43 47 04 76 c1 15 3d fc 80 |..3....CG.v..=..|
00000100 67 a4 5f 4b 05 ce 02 9b 3f d1 13 f8 bb 85 de e3 |g._K....?.......|
00000110 10 82 df 6c a0 37 39 e9 b3 4c 61 93 a2 3f bb 8d |...l.79..La..?..|
00000120 0b c9 ef 67 48 8a 09 3d cd 32 23 cf ee b1 43 12 |...gH..=.2#...C.|
00000130 7b 75 b4 c2 f2 61 1e 3a 5a 96 98 1c 2c 48 b4 5d |{u...a.:Z...,H.]|
00000140 29 1e 73 4c e7 4e 85 1e 9e ae 7e e1 3d 3d d5 c6 |).sL.N....~.==..|
00000150 47 46 13 b8 f9 d1 56 64 e8 22 d6 96 60 75 dd da |GF....Vd."..`u..|
00000160 c7 2b fa 70 42 f0 e9 b7 bc 14 eb ab b1 0e 1d f2 |.+.pB...........|
00000170 c8 70 53 da 99 aa 98 dd 9a c4 dc 5b 09 96 0a 44 |.pS........[...D|
00000180 7d 0b d9 6c 51 dd 6e 56 d6 05 8f 7c 99 a2 5f c6 |}..lQ.nV...|.._.|
00000190 82 71 1f c6 fa 37 19 33 8c 53 d8 d7 13 8e 82 76 |.q...7.3.S.....v|
000001a0 f2 2f d4 27 ec 38 15 f4 82 7e 8b c7 74 d0 66 22 |./.'.8...~..t.f"|
000001b0 61 14 3a c1 b9 fe 78 54 23 fa be 56 0d d1 00 fe |a.:...xT#..V....|
000001c0 ff ff 82 fe ff ff 02 38 aa 04 00 68 14 01 00 fe |.......8...h....|
000001d0 ff ff 05 fe ff ff 01 00 00 00 01 d0 77 04 00 00 |............w...|
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



Plugged in all hard drives to save files to other hard drives. Then started a Suse auto repair, but then aborted because not sure of drive labels do to ubuntu/mint non-consistent naming of hard drives (stupid). (I usually disconnect all other hard drives for safty). After reboot, my borked Hard drive actually booted up. Have not turned off comp since cause I don't know if it will ever boot again. Still trying to figure out what happened and want to make sure fstab entries are correct. I did notice that along with the main hard drive, my older IDE 750gig hard drive was also marked as boot (incorrectly). Do not think it is related to problem, as it was connected when problem occurred, and it is not usually mounted.
Thanks, maybe you can decipher for me?, Bruce
 
Old 06-27-2012, 03:51 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Your bootinfoscript output shows at the very beginning that you have Grub Legacy installed in the mbr of sda which you refer to as your media drive with windows filesystem. It indicates it is looking for boot files (stage2) of Grub on sdb1. If you look at the boot files listed under sdb1, there is no stage2 or any Grub Legacy files. I'm not sure where Grub Legacy fits in here as I believe Mint 9 used Grub2?

If you look at the bootinfoscript output, again near the top, you can see that Grub2 is installed to the mbr of sdb (your 1TB drive) and looks on sdb1 for the core.img file and it is there. It looks like you have two Mint installs, one on sdb1 and another on sdb6.

If you look at the grub.cfg file on sdb1, its entries show (hd0,1) which is equivalent to sda1.
If you look at the grub.cfg file on sdb6, its entries show (hd0,6) which is equivalent to sda6.

Which drive do you have set to first boot priority in the BIOS?
Can you boot either Mint installation?
If you have the 750GB drive set to first boot priority and you can boot Mint, you could reinstall Grub to the mbr of sda. If you can't boot, you can do this with the Mint installation CD. Answers to these questions will help get specific suggestions.
 
1 members found this post helpful.
Old 06-27-2012, 09:24 PM   #5
bth73
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
The Grub Legacy on sda should not be there. Not sure how it got there. And yes, MInt 9 is grub2.
My mother board Bios only selects between flopy,cd/dvd, hard drive, and usb. I don't think I can pick one drive over another.
The second mint install can be deleted and partition resized. I can not boot to it now, the entry is gone from the boot menu.
I haven't rebooted yet, so don't know if it will boot again. I would guess it would, because it did this last time.
Another note, the sdb/1tb drive has a unallocated 1mb at the begining of the table in gparted. It never used to, but maybe it is a result of the resizing and dual-boot of the 2nd Mint install.
While I was working on this, I had all other drives disconnected as a safety precaution, so only the 1tb HD was connected and it was sda. This arbitrary naming of hard drives is confusing. They are plugged into the mother board in sequence with the inputs, IE: 1tb into hd0, 750g into hd1. Do you know why it is naming the secondary hd1 drive sda, and changing hd0 to sdb? Seems like a problem to me.
Power outage today, comp still boots up.
Now, I can not mount 750 gig HD. It shows up in Disk Utility as mounted, but not showing up anywhere.
checked properties of file system, and something is wrong with that. I have 1tb, 2tb, 750gig, and usb 100gig hooked up, but here is the output from properties:
394,173 items, totalling 130.0 TB
(some contents unreadable)
Really only 3.85 tb. And I thought it was only supposed to show the main system, (1 tb), hard drive.

Last edited by bth73; 06-29-2012 at 01:31 AM. Reason: more info
 
Old 07-05-2012, 12:11 PM   #6
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424

Rep: Reputation: 83
Dramatic misreporting of file and disk sizes is often a symptom of corrupt partition tables. I'd back up your data, delete all partitions, and start again. As far as the BIOS, every computer I've seen in the last 7 years of so has options to choose hard disk boot order or precedence, that's a pretty standard thing, even on OEM boards.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how can I incorporate windows boot loader into grub? Triple boot, single hard drive olkirf Linux - Newbie 8 10-24-2010 08:36 AM
Installing GRUB in another disk problem, GRUB Hangs in boot caosxxi Linux - General 7 08-26-2009 01:55 PM
Grub Cant boot windows on 2nd Disk gruelius Linux - Newbie 6 02-16-2007 08:31 PM
Windows wants to do a check disk if i boot to winXP from grub BFGeier Linux - Newbie 2 01-11-2006 02:20 AM
grub problem with 2 hard disk with boot loaders. (linux & windows 2000) vbsoftware General 3 01-04-2005 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 02:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration