From: Leendert Meyer <leen.meyer@home.nl>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] No of ubd
Date: Sun, 30 May 2004 08:31:32 +0200 [thread overview]
Message-ID: <200405300831.32648.leen.meyer@home.nl> (raw)
In-Reply-To: <200405291408.09412.leen.meyer@home.nl>
On Saturday 29 May 2004 14:08, Leendert Meyer wrote:
> On Saturday 29 May 2004 10:40, Henrik Nordstrom wrote:
> > On Fri, 28 May 2004, Leendert Meyer wrote:
> > > I know how to use fdisk. But I need a bit of guidance here. Given *any*
> > > partitionsize, what are the appropriate values? Is there a formula for
> > > that?
> >
> > You just need to set some geometry on the disk.. Linux does not care
> > what.. The only important matter is that the geometry should add upp to
> > the size of your disk (in 512 byte sectors).
>
> Found this in linux/Documentation/kernel-parameters.txt:
> ---8<---8<---8<---
> hd= [EIDE] (E)IDE hard drive subsystem geometry
> Format: <cyl>,<head>,<sect>
> ---8<---8<---8<---
>
> And this in linux/Documentation/ide.txt:
> ---8<---8<---8<---
> "hdx=cyl,head,sect" : disk drive is present, with specified geometry
> ---8<---8<---8<---
>
> Nothing on ubd concerning geometry. Do I need the fake_ide or fakehd
> parameters in combination with a hdx=C,H,S?
I found out that:
a) Debians cfdisk calculates the number of cilinders automatically, when used
on an empty disk image file. My current {c,}fdisk (SuSE Linux 9.0) is not
that smart. UML calculates the same number of cylinders.
b) On the kernel command line, ubd#=<file>, where file can be a disk image, a
partition (e.g. /dev/hda7), or an entire disk (e.g. /dev/hdd). You can even
use COW files on partitions and disks.
c) In UML, ubd0 is mapped to ubda, ubd1 is mapped to ubdb, etc.
Thanks to Uwe Barteld for assistance! :)
Cheers,
Leen
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-05-30 6:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-27 18:11 [uml-devel] SKAS mode patch compatibility w/RH8 2.8.18-19.8.0 (Kernel panic: restore_registers - saving registers failed, errno = 3) Joe Marzot
2004-05-28 3:36 ` [uml-devel] No of ubd Raymond Wong
2004-05-28 8:13 ` Henrik Nordstrom
2004-05-28 15:37 ` Leendert Meyer
2004-05-28 18:33 ` Henrik Nordstrom
2004-05-28 21:47 ` Leendert Meyer
2004-05-29 8:40 ` Henrik Nordstrom
2004-05-29 12:08 ` Leendert Meyer
2004-05-30 6:31 ` Leendert Meyer [this message]
2004-05-30 18:43 ` Henrik Nordstrom
2004-05-30 20:56 ` Leendert Meyer
2004-05-30 23:27 ` Henrik Nordstrom
-- strict thread matches above, loose matches on Subject: below --
2004-05-29 7:48 Raymond Wong
2004-05-29 8:42 ` Henrik Nordstrom
2004-05-30 15:15 Raymond Wong
2004-05-30 19:04 ` Henrik Nordstrom
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=200405300831.32648.leen.meyer@home.nl \
--to=leen.meyer@home.nl \
--cc=user-mode-linux-devel@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