Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-20-2010, 10:05 PM   #1
LQ Newbie
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
Dual Boot issue (Mint 9 and Vista) problem - on Day 4 of problem...

I have a system with both a WinVista install (for my girls Sims and wife's itunes) and LM 9.

I attempted to create a new partition for a dedicated /home partition to make upgrading in the future easier.

I think by deleting the first partition (an OE Recovery partition) and moving things around, I messed up my MBR or Grub2 file, because I can't boot either O/S.

Output of fdisk:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 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: 0x81f5ee4e

Device Boot Start End Blocks Id System
/dev/sda1 1 674 5413873+ 83 Linux
/dev/sda2 * 675 12650 96197220 7 HPFS/NTFS
/dev/sda3 12687 38914 210663425 5 Extended
/dev/sda5 12687 20293 61096066+ 83 Linux
/dev/sda6 20294 38131 143283703+ 83 Linux
/dev/sda7 38132 38914 6282240 82 Linux swap

sda1 is empty
sda2 is windows
sda 5 is LM9
sda6 is going to be new home partition

I also have a LM9 live cd ready to go.

Also, after trying:
sudo mount /dev/sda5 /mnt
sudo mount -o bind /sys /mnt/sys
sudo mount -o bind /proc /mnt/proc
sudo mount -o bind /dev /mnt/dev
sudo chroot /mnt
grub-install /dev/sda

On boot, I get an error msg after a grub screen with only linux as an option saying:
the disk drive at /mnt/sda7 is not ready or not present.
Old 10-20-2010, 10:08 PM   #2
LQ Newbie
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Also -

tried to install grub using:

mint@mint ~ $ sudo mount /dev/sda5 /mnt
mint@mint ~ $ sudo grub-install --root-directory=/mnt/ /dev/sda
grub-probe: error: cannot find a device for /boot (is /dev mounted?).

I think "cannot find a device for /boot is one part of the problem....

I can get Linux to partially boot when I install grub from a LiveCD, but I get the "the disk drive /dev/sda7 is not ready or not present. Press s to skip or M for manual mounting" error msg. After picking either option, System just hangs.

And sudo update-grub:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
ls: cannot access /var/lib/os-prober/mount/boot
Boot: No such file or directory
Old 10-20-2010, 10:57 PM   #3
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,299

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
You need to make sure your Grub is on the partition you think it is since you deleted and recreated a partition. Use the Live CD of Mint, open a terminal and get to a grub prompt by typing: sudo grub
Then type find /boot/vmlinuz and check the results.

I'd suggest creating a mount point other than the /mnt directory for Mint. As root, sudo mkdir /mnt/mint, then mount it as root:
sudo mount -t ext4 /dev/sda5 /mnt/mint

See if you can browse your Mint files. Particular attention to the /boot/grub/grub.cfg file which should contain your menu. See if it pointing to the correct partition.

I have not used Grub2 so can only point you to this tutorial for info:
Old 10-20-2010, 11:26 PM   #4
LQ Newbie
Registered: Oct 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Sadly, it looks like I have grub2 installed rather than grub, so I can't execute your first command


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem with dual boot fedora 11 and vista impailer Linux - Newbie 2 06-28-2009 11:33 AM
Yet another Vista/Fedora dual boot problem AndreasL47 Linux - Laptop and Netbook 5 05-01-2009 03:32 PM
RHEL and Vista Dual boot problem on HP dv9700z jdlandry Linux - Laptop and Netbook 25 07-24-2008 10:31 AM
problem with suse10,3 and vista dual boot abhiitechie Linux - Newbie 3 05-12-2008 03:04 AM
Vista Dual Boot Grub Problem bluelite28 Linux - General 3 07-24-2006 12:47 AM > Forums > Linux Forums > Linux - Newbie

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

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