Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arun Reddy <reddyac@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Creating a bootable filesystem image?
Date: Mon, 7 Apr 2008 16:30:24 -0700	[thread overview]
Message-ID: <326f33790804071630l359860ccu80104cb28d35fa66@mail.gmail.com> (raw)
In-Reply-To: <20080407200406.A0C4F2FE0348@sam.liddicott.com>

Hi John,

Thanks a lot for pointing me to that script... the comments are well made
and tell me exactly what it does. In this case, this works for an ext3 file
system. Would the best approach be to modify it and change all ext3 code to
ext2 and run it to see what it does?

Hi Sam,

I will certainly look for that script that you mentioned if the previous
method does not work.

Thank you.

On Mon, Apr 7, 2008 at 1:07 PM, Sam Liddicott <sam@liddicott.com> wrote:

> There is a script in scripts which does most of this which I psoted a
> patch for recently.
>
> The script still needs modifying to use LBA mode not CHS which I will do
> soon, or you could...
>
> Sam
>
> -----Original Message-----
> From: John Voltz <john.voltz@gmail.com>
> Sent: 07 April 2008 20:29
> To: Buildroot List <buildroot@uclibc.org>
> Subject: Re: [Buildroot] Creating a bootable filesystem image?
>
> You need a bootloader like grub to kickstart everything. Buildroot will
> build grub for you. You have to do a little tweaking of /boot/grub/menu.lst
> to point grub at your kernel. You can look inside /scripts/create-ext3-img
> to see what needs to be done, or just use that script to do your bidding.
>
> John
>
>
> On Mon, Apr 7, 2008 at 2:58 PM, Arun Reddy <reddyac@gmail.com> wrote:
> Hi everyone,
>
> I was able to create a filesystem image and .iso using buildroot.
>
> In experimenting with booting up the new kernel on a virtual machine
> (VirtualBox), I found that I needed to convert my rootfs.i386.ext2
> filesystem image to a .vdi file (using VirtualBox software).
>  I tried booting the .vdi alone, but unfortunately I encountered an
> immediate error that stated "no bootable medium could be found." To get
> passed this error, I mounted the .iso as well along with my .vdi file. Using
> some help from the mailing list members, I got passed a few minor problems
> during bootup, and got the kernel running with a shell.
>
> With that milestone complete, I now want to avoid using both the .iso and
> the harddisk (.vdi) together. I just want to be able to convert the
> rootfs.i386.ext2 to a .vdi file and run that alone. The fact that this .vdi
> cannot boot alone leads me to believe the filesystem that buildroot creates
> for me is not bootable. (I may have missed an important part in my reading,
> but either the filesystem absolutely needs an .iso to work, or it is used
> for the user to chroot into it and boot from there).
>
> My question is, does anyone know if there is a way to configure buildroot
> to make rootfs.i386.ext2 bootable? Please note that I disabled RAMDISK in
> the kernel .config before compiling buildroot because I don't need to use
> one
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080407/2a512b48/attachment.htm 

  reply	other threads:[~2008-04-07 23:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-07 20:07 [Buildroot] Creating a bootable filesystem image? Sam Liddicott
2008-04-07 23:30 ` Arun Reddy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-04-14 20:29 Sam Liddicott
2008-04-14 22:31 ` Arun Reddy
2008-04-11 19:11 Sam Liddicott
2008-04-14 16:57 ` Arun Reddy
2008-04-14 17:09   ` Arun Reddy
2008-04-15  8:35     ` Guillaume Dargaud
2008-04-07 18:58 Arun Reddy
2008-04-07 19:29 ` John Voltz
2008-04-08 10:02 ` Sebastian
     [not found]   ` <326f33790804081325s680eb37bg9b8e73663277f4c2@mail.gmail.com>
     [not found]     ` <47FBE4A8.9080104@arcor.de>
2008-04-08 22:26       ` Arun Reddy
     [not found]         ` <47FBF3F3.4040001@arcor.de>
2008-04-08 23:50           ` Arun Reddy
     [not found]             ` <47FCD648.8040007@arcor.de>
2008-04-11 18:51               ` Arun Reddy

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=326f33790804071630l359860ccu80104cb28d35fa66@mail.gmail.com \
    --to=reddyac@gmail.com \
    --cc=buildroot@busybox.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