Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.embedded > #252

Re: [Stupid Question] How can I boot my ISO/tar/ext2 image created with buildroot?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date Mon, 23 Apr 2012 00:45:17 -0500
Newsgroups comp.os.linux.embedded
From Scott Wood <scott@buserror.net>
Subject Re: [Stupid Question] How can I boot my ISO/tar/ext2 image created with buildroot?
References <4f911035$1@extreme.x-privat.org>
User-Agent slrn/pre1.0.0-18 (Linux)
Message-ID <slrnjp9r3d.edk.scott@snotra.buserror.net> (permalink)
Date Mon, 23 Apr 2012 00:45:17 -0500
Lines 23
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-j3P14nyCTAbrh6Pv7ppX7IOyJ1qPBUwuSgpt5Kz3vo64rpGtmyPYxaY5Mw8m5W3G9Pd+18C2Cfv2TxE!l4gIFICvPNfOtBQE9YbE8bn2YeZsjufQo+1DPQVP5yLYVrCVvZ47znRKGn516pvNFpY=
X-Complaints-To abuse@giganews.com
X-DMCA-Notifications http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1881
Xref csiph.com comp.os.linux.embedded:252

Show key headers only | View raw


On 2012-04-20, Willy <gruppi@willygroup.org> wrote:
> Hi,
> I've created an image (in various formats: ext2/iso/tar) with buildroot 
> 11/2011.
> Until now I've used unetbootinet to create a bootable usb pen drive for 
> testing in the target machine (i386).
>
> Now I want put the image to my hard disk, and boot from that.
>
> How can I put the image into the hard drive and make it bootable?
>
> Thanks a lot!

You'll need a bootloader of some sort (grub, lilo, etc.), and of course an
appropriate kernel.  Beyond that, just create a normal ext2/3/4 filesystem
in a normal partition, and make sure the boot loader is in a partition
marked bootable (or the MBR).

There really shouldn't be that much different between a USB drive and a hard
disk, beyond getting the BIOS to look at the right device (which I'd imagine
would be harder with the USB drive than the hard disk).

-Scott

Back to comp.os.linux.embedded | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[Stupid Question] How can I boot my ISO/tar/ext2 image created with buildroot? Willy <gruppi@willygroup.org> - 2012-04-20 09:28 +0200
  Re: [Stupid Question] How can I boot my ISO/tar/ext2 image created with buildroot? Scott Wood <scott@buserror.net> - 2012-04-23 00:45 -0500
    Re: [Stupid Question] How can I boot my ISO/tar/ext2 image created with buildroot? Willy <gruppi@willygroup.org> - 2012-04-24 15:36 +0200

csiph-web