From: George Mitchell <george@chinilu.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Scan not being performed properly on boot
Date: Sun, 03 Aug 2014 21:00:19 -0700 [thread overview]
Message-ID: <53DF0553.1010404@chinilu.com> (raw)
In-Reply-To: <1704788.vV3kpDkpOK@xev>
On 08/03/2014 08:31 PM, Russell Coker wrote:
> On Mon, 4 Aug 2014 04:02:53 Peter Roberts wrote:
>> I've just recently started testing btrfs on my server but after just 24
>> hours problems have started. I get booted to a busybox prompt user
>> ubuntu 14.04. I have a multi device FS setup and I can't say for sure if
>> it managed to boot initially or not but it worked fine in regular usage.
> What is GRUB (or your boot loader) giving as parameters to the kernel?
>
> What error messages appear on screen? Sometimes it's helpful to photograph
> the screen and put the picture on a web server to help people diagnose the
> problem.
>
>> I cannot mount my root with anything other than an explicit /dev/sdx
>> reference until I manually run a scan. Then UUID etc all work. I've
> That sounds like a problem with the Ubuntu initrd, probably filing an Ubuntu
> bug report would be the best thing to do. Is BTRFS supported in that version
> of Ubuntu?
>
> But just changing your boot configuration to use /dev/sdx is probably the best
> option.
>
Assuming you are booting with grub2, you will need to use /dev/sdx in
the grub2 configuration file. This is known issue with grub2. Example
from my script:
--------------------------------------------------------------------------------------
echo 'Loading Linux desktop ...'
linux /vmlinuz-desktop root=/dev/sda7 ro splash quiet
echo 'Loading initial ramdisk ...'
initrd /initrd-desktop.img
---------------------------------------------------------------------------------------
next prev parent reply other threads:[~2014-08-04 3:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 3:02 Scan not being performed properly on boot Peter Roberts
2014-08-04 3:31 ` Russell Coker
2014-08-04 4:00 ` George Mitchell [this message]
2014-08-04 4:14 ` Russell Coker
2014-08-04 4:22 ` George Mitchell
2014-08-04 4:34 ` George Mitchell
2014-08-04 5:01 ` Russell Coker
2014-08-04 5:23 ` Duncan
2014-08-04 9:36 ` Chris Samuel
2014-08-04 15:00 ` Peter Roberts
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=53DF0553.1010404@chinilu.com \
--to=george@chinilu.com \
--cc=linux-btrfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).