public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Dual Boot Partitions
Date: Mon, 28 Feb 2011 13:19:43 +0000	[thread overview]
Message-ID: <AANLkTimiAF9ed4GGPUM5G0ONDg3XfPaJn5s4PbTtMUV4@mail.gmail.com> (raw)
In-Reply-To: <4D6B9431.5090702@optonline.net>

On 28 February 2011 12:25, dhk <dhkuhl@optonline.net> wrote:

> I did everything in Grub and haven't touched the MS Windows partitions
> since the initial install.
>
> The problem looks like Grub and some other stuff.  Can't boot to Windows
> or Linux.  It looks like the Grub menu never comes up.  However, it
> seems to know about it, because the menu options can still gets executed
> either after the time out or by pressing Enter.  Then some stuff gets
> printed to the screen and the boot process begins, but it errors before
> the Operating Systems come up.  When trying to boot to Windows, I have
> no idea why it errors.  When trying to boot to Linux, the fsck.ext3
> fails on /dev/sda7 which is my root partition.  It seems to think it's
> ext2, but when I checked (by booting to the livecd) with tune2fs -j it
> says it's already journaling.

Consider booting from a LiveCD, check that /dev/sda7 indeed contains
the root filesystem, unmount it and run:

e2fsck -f -v -c /dev/sda7

> After the boot fails and I give the root
> password, I looked in /dev and there aren't any sda partitions and I
> have 12 on the disk.  My disk looks like the following.

From a terminal start grub:
======================================
# grub

    GNU GRUB  version 0.97  (640K lower / 9216K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> find /grub/stage1
 (hd0,2)      <--If your /boot is indeed on /dev/sda3 and you have
installed grub in there

grub> root (hd0,2)  <--as found above

grub> set (hd0)  <--install the bootcode in the MBR of the 1st hard drive

grub> quit
======================================

Then you need to set up the /boot/grub/grub.conf file with the correct
lines pointing to /dev/sda7 for your Linux root and chainloading
/dev/sda1 for your MSWindows OS.

As long as you have installed the right modules for chipset and fs in
the kernel you should be able to boot.

HTH.
-- 
Regards,
Mick



  parent reply	other threads:[~2011-02-28 13:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 15:01 [gentoo-user] Dual Boot Partitions dhk
2011-02-27 16:02 ` Petri Rosenström
2011-02-27 18:04   ` Florian Philipp
2011-02-27 19:39     ` Mick
2011-02-28 11:26       ` dhk
2011-02-28 11:39         ` Mick
2011-02-28 12:25           ` dhk
2011-02-28 13:11             ` dhk
2011-02-28 13:25               ` Mick
2011-03-02 13:49                 ` dhk
2011-02-28 13:19             ` Mick [this message]
2011-02-27 19:35 ` [gentoo-user] " walt
2011-02-27 23:47   ` Peter Humphrey
2011-03-06  6:57 ` [gentoo-user] Re: MS Windows-scanners [Was: Boot Partitions] Joost Roeleveld
2011-03-06 14:14   ` Sebastian Beßler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimiAF9ed4GGPUM5G0ONDg3XfPaJn5s4PbTtMUV4@mail.gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox