LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2010, 09:25 AM   #1
markotitel
Member
 
Registered: Feb 2009
Location: Titel - Serbia
Posts: 181

Rep: Reputation: 18
how to boot buildroot target system


Hi,

Im playing with buildroot educational purpose.

Buildroot created target filesystem, how can I boot into it?
 
Old 05-24-2010, 04:58 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Quote:
Originally Posted by markotitel View Post
Hi,

Im playing with buildroot educational purpose.

Buildroot created target filesystem, how can I boot into it?
1. mount the image on a loop device using losetup.
2. mount the loop device to a directory.
3. chroot /path/to/mounted/loop/directory /bin/su

If you have gotten that far AND have a boot loader in the buildroot environment, then you might be able to write to the boot sector while chroot to get it to boot in qemu.

If the disk image is for another cpu, it's trickier, but the basic idea is you need a disk image with a boot sector and partition info the platform can read and an emulator for that platform. Once you've got that much, rsync the stuff from the buildroot disk image over and try to boot the new disk image.
 
Old 05-28-2010, 03:36 AM   #3
markotitel
Member
 
Registered: Feb 2009
Location: Titel - Serbia
Posts: 181

Original Poster
Rep: Reputation: 18
Yes thank you I managed do boot it from flash. But heh nothing special , I need to add some packages .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing tcc on target system linuz_ Linux - Newbie 1 12-31-2009 01:39 PM
Installing LILO from host system to hdb to boot as hda in target system A7G1-6 Linux - Hardware 2 07-25-2009 10:37 AM
Compile kernel, migrate to target system Irving Linux - General 2 06-20-2006 06:27 PM
cant boot into my target file system zbenjudah Linux From Scratch 4 04-16-2006 04:09 PM
Boot x86 target from flash, with the image and file system on the x86 host. batsayan Linux - Software 2 08-23-2005 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration