mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tomas Szepe <szepe@pinerecords.com>
To: "Karel Kulhavý" <clock@twibright.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Can't mount USB partition as root
Date: Tue, 30 Dec 2003 21:25:54 +0100	[thread overview]
Message-ID: <20031230202554.GB8062@louise.pinerecords.com> (raw)
In-Reply-To: <20031230101010.A14772@beton.cybernet.src>

On Dec-30 2003, Tue, 10:10 +0100
Karel Kulhavý <clock@twibright.com> wrote:

> On Mon, Dec 29, 2003 at 06:49:51PM +0100, Tomas Szepe wrote:
> > On Dec-29 2003, Mon, 18:33 +0100
> > Karel Kulhavý <clock@twibright.com> wrote:
> > 
> > > > You'll need to load the usb modules using initrd ramdisk, then switch root
> > > > to the usb device to continue booting the system.
> > > 
> > > This is the problem #2. I am not able to remount /. "device or resource busy".
> > > How do I remount the "/"?
> > 
> > /sbin/mount -o remount,rw /
> 
> bash-2.05b# mount
> /dev/hda4 on / type xfs (rw)
> none on /dev type devfs (rw)
> none on /proc type proc (rw)
> none on /dev/pts type devpts (rw)
> /dev/hda1 on /boot type ext2 (rw,noatime)
> none on /dev/shm type tmpfs (rw)
> bash-2.05b# mount -o remount,rw /dev/sda1 /
> bash-2.05b# mount
> /dev/hda4 on / type xfs (rw)
> ^^^^^^^^^
> none on /dev type devfs (rw)
> none on /proc type proc (rw)
> none on /dev/pts type devpts (rw)
> /dev/hda1 on /boot type ext2 (rw,noatime)
> none on /dev/shm type tmpfs (rw)
> 
> bash-2.05b# mount --version
> mount: mount-2.12
> bash-2.05b# cat /proc/version
> Linux version 2.6.0 (root@oberon) (gcc version 3.3.2 20031022 (Gentoo Linux
> 3.3.2-r3, propolice)) #4 Mon Dec 29 12:20:39 MET 2003
> 
> When doing find / after that, the IDE disk goes crazy, not the USB one.
> So that mount doesn't lie and nothing is really remounted (and no
> error message issued). Is this how things are supposed to work?

As others have said, you need to either

a) patch your kernel to wait for the usb disk to be detected.
	(Your only choice w/o an initrd.)

b) modify your initrd to mount the usb disk and pivot_root(2).

-- 
Tomas Szepe <szepe@pinerecords.com>

      reply	other threads:[~2003-12-30 20:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-29 16:38 Karel Kulhavý
2003-12-29 16:45 ` Tomas Szepe
2003-12-29 17:31   ` Karel Kulhavý
2003-12-29 17:34     ` Tomas Szepe
2003-12-29 18:38   ` Wakko Warner
2003-12-29 21:14     ` Randy.Dunlap
2003-12-29 16:47 ` Jeff Chua
2003-12-29 17:33   ` Karel Kulhavý
2003-12-29 17:49     ` Tomas Szepe
2003-12-30  2:16       ` Michael Heyse
2003-12-30  9:10       ` Karel Kulhavý
2003-12-30 20:25         ` Tomas Szepe [this message]

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=20031230202554.GB8062@louise.pinerecords.com \
    --to=szepe@pinerecords.com \
    --cc=clock@twibright.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®