From: "Alan E. Davis" <lngndvs@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Inconsistent mountpoint for /
Date: Sun, 12 Jul 2009 00:30:54 +1000 [thread overview]
Message-ID: <7bef1f890907110730q41489a33x2baa918a06b7d06e@mail.gmail.com> (raw)
In-Reply-To: <20090711142607.0edf1ce8@zaphod.digimed.co.uk>
On Sat, Jul 11, 2009 at 11:26 PM, Neil Bothwick<neil@digimed.co.uk> wrote:
> On Sat, 11 Jul 2009 10:16:26 +1000, lngndvs@gmail.com wrote:
>
>> In grub, it is located first as hd1 (/dev/sdb) and then as
>> /dev/sda5. That is where I want it to be.
>
> Those are two different things. the first is GRUB's root directory, the
> place where is will find its configuration and stage files (i.e. the
> location of /boot). The root argument on the kernel line is tell the
> kernel the location of your root filesystem - /.
>
I need to have the second drive (SATA #2) as the first boot drive
because that's the drive with the grub setup in the MBR, for Gentoo.
/boot is found on SATA #1, actually /dev/sda1 after all is said and
done. But until the system boots, it is called (hd1) (same as
/dev/sda2).
As the kernel boots from /boot, it finds / and mounts it. It is
actually on /dev/sda1, and it is now identified as /dev/sda1. So this
is what must be in the kernel line.
I had /dev/sdb5 as / in /dev/fstab, but that was wrong, because by
that time, it is /dev/sda5.
I also had /dev/sdb5 as another partition, mounted as an archive, in
my /dev/fstab. I thought this was causing a problem. Not sure even
now.
So I changed the fstab to reflect /dev/sdb5 as / .
This problem has been a central issue over two to three weeks. Now
the system is working. I'd like to rectify the boot priority so this
drive is booted first, but that requires grub to install the MBR on
that drive. Not sure why I had so much trouble with that. It's a
500GB drive. Is that an issue?
It's all too complicated. Once it is clear enough in my own head, I
will try to install grub on that drive and set it as the first
priority at boot, in the BIOS.
In 15 years of installing all manner of GNU/Linux, it has only been
the past year or two I've encounted any of this. It started with
having PATA drives suddently named /dev/sda1, while the former
/dev/sda1 became /dev/sda2. It was first on Ubuntu. Now I'm not sure
anymore.
Thanks. I think that aspect of the problem has been sorted out, or at
least recognized. It's dizzying.
Alan
next prev parent reply other threads:[~2009-07-11 14:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-11 0:16 [gentoo-user] Inconsistent mountpoint for / lngndvs
2009-07-11 0:52 ` [gentoo-user] " walt
2009-07-11 1:27 ` Alan E. Davis
2009-07-11 1:55 ` Dale
2009-07-11 9:21 ` Peter Humphrey
2009-07-11 13:26 ` [gentoo-user] " Neil Bothwick
2009-07-11 14:30 ` Alan E. Davis [this message]
2009-07-11 15:08 ` Alex Schuster
2009-07-11 16:59 ` Alex Schuster
2009-07-11 19:33 ` [gentoo-user] " walt
2009-07-11 21:59 ` Neil Bothwick
2009-07-12 3:27 ` Alan E. Davis
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=7bef1f890907110730q41489a33x2baa918a06b7d06e@mail.gmail.com \
--to=lngndvs@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