linux-um archives
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: atanugul@csee.wvu.edu, a_mulyadi@telkom.net,
	user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-devel] help needed for running uml on a sarge
Date: Tue, 24 Aug 2004 17:43:16 +0200	[thread overview]
Message-ID: <200408241743.16572.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <50485.151.205.59.135.1091030391.squirrel@www.csee.wvu.edu>

Alle 17:59, mercoledì 28 luglio 2004, atanugul@csee.wvu.edu ha scritto:
> Hi!
> I downloaded some root file sytems and got the following errors on a
> Debian 2.6.3-1-386 when I tired to run UML
> 1)with Debian-3.0r0.ext2 rootfs


> Checking root file system...
> fsck 1.27 (8-Mar-2002)
> fsck.ext2: No such file or directory while trying to open /dev/ubd/0
> /dev/ubd/0:
> The superblock could not be read or does not describe a correct ext2
> filesystem.  If the device is valid and it really contains an ext2
> filesystem (and not swap or ufs or something else), then the superblock
> is corrupt, and you might try running e2fsck with an alternate superblock:
>     e2fsck -b 8193 <device>
>
>
> fsck failed.  Please repair manually and reboot.  Please note
> that the root file system is currently mounted read-only.  To
> remount it read-write:
>
>  # mount -n -o remount,rw /
>
> CONTROL-D will exit from this shell and REBOOT the system.
>
> (none):~#
The /etc/fstab inside this rootFs tries to access /dev/ubd/0, which exists 
only if you use DevFS: you can enable it, in the kernel config and/or by 
adding devfs=mount to the command line. Or you can loop-mount the rootfs, 
create /dev/ubd? with this

for i in 0 1 2 3 4 5 6 7; do mknod ubd$i b 98 $[ $i * 16 ]; done

and edit /etc/fstab to refer to it. I.e. replace /dev/ubd/0 with /dev/ubd0, 
and repeat for other /dev/ubd/# to /dev/ubd#.

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      parent reply	other threads:[~2004-08-29 21:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-27 16:39 [uml-devel] help needed for running uml on a sarge atanugul
2004-07-27 16:57 ` Mulyadi Santosa
2004-07-28 15:59   ` atanugul
2004-07-29 13:17     ` Mulyadi Santosa
2004-07-29 17:23       ` Brian McGroarty
2004-08-24 15:43     ` BlaisorBlade [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=200408241743.16572.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=a_mulyadi@telkom.net \
    --cc=atanugul@csee.wvu.edu \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    /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