Software :: How To Boot Buildroot Target System
May 22, 2010Im playing with buildroot educational purpose.
Buildroot created target filesystem, how can I boot into it?
Im playing with buildroot educational purpose.
Buildroot created target filesystem, how can I boot into it?
When I try to boot in to Ubuntu (10.10) 64x I get the error "target system doesn't have /sbin/init" Then busy box comes up.
View 2 Replies View RelatedI'm trying to build some boot and kernel images for my WD Mybook world edition, which uses an arm processor on my x86_64 host box. Ultimately i'd like to install slackarm. Lilo doesn't work on arm so you have to compile your own kernel and have the bootloader statically linked to kernel inorder to boot the OS. So i'm using my slackware install to cross compile the boot loaders (u-boot) and kernel image (uImage).
I've successfully compiled the buildroot environment which has generated the arm-linux-* binaries, eg, gcc 3.4.2 for arm.
Code:
These are in a build folder (shortened in text below), which i add to my PATH
Code:
I then move to the directory where i want to build the stage1 boot loader, which is supplied in the GPL code from WD.
Code:
However the build fails with a segfault, which looks to be caused by the incorrect libraries and compiler being used:
Code:
It seems to be using my x86_64 libs and gcc 4.4.4 which is the host compiler not the target.
I've tried setting ARCH=arm but got the same results.
Do i need to export some additional variables or unset some to prevent the host files being used instead of the targets?
I want to run ISCSI target on CentOS. Both "scsi-target-utils" and "iscsi-target" can be used.
They seem to have the same function.
Is there any significant difference between them, on performance or stability?
I read the manual for systemD and systemctl, and I could not see a way to display the dependencies of local-fs.target. My system hangs at boot, somewhere before the local-fs.target completes. Not only do I know know what is failing, I don't know what it is trying to do.I can boot to the emergency target. But that does not trigger the problem. I have the logging options on, but it FREEZES when I try the local-fs.target, so I never get to open the logs. I'd like to know what it is trying to do, so I can step through manually.
I boot to emergency. Manually start each local-fs.target.wants/* then local-fs.target It waits a long tome for something, then it "works" but does not mount my lvm filesystems. I try again for default.target, and this time local-fs.target fails with a dependency, and the system hangs again. syslog is not available at the time of the hang. What ever is the first fail, is lost when the console scrolls.I's looking a lot like I must do a full reinstall of this system.
I have synology nas box DS710+ that has intel atom processor inside. i've installed ubuntu under virtual box, downloaded needed toolchain for x86 processors, and decided to cross-compile openvpn.
I 've started from compiling lzo library, but first question that appeared in my head - how i have to move all compiled binaries to my synology?
1. configure - okay
2. make - okay
3. make install - this is not necessary?
Will --prefix parameter helps me? or do i have to use chroot? cause there is a plenty amount of files that i need to move to my synology.
i have got some error while trying to use /usr/lib/libpthread.so.0 file for my c program where as am using cross compiler and my target compiler is arm-none-linux-gnueabi-gcc while trying to use that file, i got the error file not correct format and i know the library file will support only if we use intel processor. so how to convert that file which should support the arm processor i.e. arm-none-linux-gnueabi-gcc.. i heard strip may resolve this problem but the problem , lot of options are there in strip, in which options we ve to use?? if you ve any other solutions please help me as soon as possible.
View 2 Replies View RelatedI'm having real issues installing 10.04 to an SSD - I had one SSD fail, and have replaced it with a brand new one, but the 10.04 installer fails at beginning to write files to the disk with this error:
[Errno 30] Read-only file system: '/target/bin'.
Curiously:
* Windows XP will install to this SSD with no issues
* I can install 10.04 to a standard HDD with no errors.
What is happening that is stopping me from installing 10.04 to this drive? I am fairly sure that there is no issue with the SSD (I have two brand new, identical OCZ Vertex II 60gb drives which both encounter this error.)
I have tried partitioning the drive using gparted on another machine, leaving 5mb free at the start of the drive, and having a single partition for /, and a 1gb swap partition. "Round to cylinders" was unchecked. The partitioning was successful, and the drives can be mounted on my other machine, but the 10.04 installer encounters the same error.
I'm trying to debug a program that I crosscompiled on a arm9. The crosscompiler uses . spec files to create RPM packages for the target system. The program compiles and runs correctly except when i run the program with gdb and then type list I get this message: Code: 1 main.c: No such file or directory. in main.c I made sure I compiled the program with CFLAGS=-g by putting this in the .spec file. when the application crosscompiles (I believe) it shows it compiled succesfully with the -g flags: Code: checking whether gcc accepts -g... (cached) yes
[Code]...
After trying most of the solutions I could think of, including reinstalling and upgrading, I'm posting here hoping someone would take me out of this misery now.Laptop:thinkpad t500I was running Ubuntu 10.04 and it froze. I rebooted and it shows the following message and gives me the "initramfs" prompt:Quote:
BUG: unable to handle kernel paging request at 00f44000
...
...
[code]....
since yesterday that my ubuntu does not boot. This message appears...Target filesystem doesnt have /sbin/init,No init found. Try passing init=bootarg. (initramfs)
I boot ubuntu-live from a usb flash drive, but i can't mount the partition where i have installed ubuntu /dev/sda6. Either run fsck command. this error appears.... Filesystem mounted or opened exclusively by another program?
Click here for solution... http://ubuntuforums.org/showpost.php...99&postcount=3So I just realized how stupid I was being trying to run these commands for a NTFS partition... so I searched and used Gparted to check sda2, and also ran
Code:
root@ubuntu:/home/ubuntu# sudo ntfsfix /dev/sda2
Mounting volume... OK
[code]....
I wish to use my laptop to create a system for my Soekris 4801. I don't want to take the server down for the lengthy install ( took 6 hours last time, Fedora 5 ). I want to create the image on a USB drive for the 586 Soekris server on my 686 HP laptop. Then scp the image to the Soekris and reboot and configure the server.
View 3 Replies View RelatedI was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
View 3 Replies View RelatedWhat I am trying to do is edit the link target to force ip=xxxx.xxx.xxx string at end. I have a software program which access 4 different servers running the software but with different configs. In xp I can copy links and modify as above to correctly force the program to the various servers.
I have read the various how tos on hard vs sym links which I get. Playing around with hardlinks and sysmlinks (the examples I find) does not seem to be what I need. Feel like this is pretty basic stuff but I am a bit stumped.
I just recently installed ubuntu 9.10 in my upstairs computer. It is a single boot system.Downstairs I have a dual boot system. I have windows vista and ubuntu 9.10 installed. It worked fine. I wanted to make this a single boot system and uninstall ubuntu 9.10. I cannot get rid of the grub bootloade
View 14 Replies View RelatedSo 2 days ago everything was all fine on my machine. Has been for about a month, but all of a sudden as of yesterday I have no sound, I am seeing IRQ interupts on boot, During boot I am seeing file system is not clean, , and swap space is being used for the first time while doing normal task, etc. These are 2 new hard drives in RAID 1 with ReiserFS. I should have used a newer FS but thats a whole other argument.
Anyways here we go.
The system is Debian Lenny amd64
Physical RAM 4GB + 6GB swap
/var/log/messages
Code:
Feb 21 07:35:09 Sarah kernel: imklog 3.18.6, log source = /proc/kmsg started.
Feb 21 07:35:09 Sarah rsyslogd: [origin software="rsyslogd" swVersion="3.18.6" x-pid="3994" x-info="http://www.rsyslog.com"] restart
code....
We have 2 applications set as S96 and S98 at rc3.d and rc5.d simultaneously. Both applications create a system V shared memory segment by calling shmget.If the system boot at runlevel 5, both applications can obtain their shared memory segment id correctly, i.e. 98305 and 131074 individually. While there is a root owned segment id 32768 takes first seat on the list. This is the id list:
root, 32768
S96_app, 98305
S98_app, 131074
[code]....
I have a jpeg file on my Windows system that won't delete. However, when I try to boot into safe mode to delete it, I can not get into the menu to select "Safe Mode". F8 just boots me right into Ubuntu.I have Windows 7 and Ubuntu 10.10 on an Acer Aspire 5520.
View 3 Replies View RelatedI am having dual boot system(windows 7 and Fedora 12).When i switch on my system.It show the the timer 3 sec in order to get boot selection window(means window which asks that what to start fedora 12 or windows 7).I want to increase this time from 3 to 10 sec.
[URL]
Installed ubuntu 10.4 over previous ubuntu on Intel 945G. After installation and reboot the system does not boot: "no bootable device - insert boot disk and press any key".
Installation was done from USB-stick, prepared by UNETBOOTin. I have two HD's, one used for system + storage, another one just for storage. I manually deleted previous system partitions of previous ubuntu install in system HD. The system HD had about 1/3 of free and unallocated space for system partitions, which ubuntu installer created during the installation.
I tried to reinstall grub from bootable USB-stick and it succeeded but it did not help. The system is still not bootable.
I have used ubuntu for years and never happened something like this. Am I missing something or is ubuntu missing something???
HW failure is ofcourse possible but I am quite skeptical about it because Live ubuntu from USB-stick works well.
I've installed Ubuntu on my new desktop alongside Windows 7 (each OS is on a separate drive), I seem to have run into a small problem. Let me start with what I did:
- Unplugged 1TB drive from the PSU, BIOS was not seeing my formatted (and thus empty) 500GB drive and I couldn't put it into the boot order at all with the 1TB turned on.
- Loaded up the boot CD and was able to install Ubuntu 10.1 on my 500GB drive.
- Did a bit of configuring, shut my PC off and plugged my 1TB (with Windows 7) drive back in. I tried to see if I could now see my Ubuntu drive in BIOS but nothing is there - just the Windows drive is in the list of available drives to boot from (along with DVD-ROM and USB).
This is where I've run into my problem. What I want is to have a nice GRUB boot menu at the start like any other dual-boot system but just have the two operating systems on separate drives altogether.I did it this way because I was having issues with the advanced partition menu on the boot CD so just went ahead and followed the KISS method by unplugging the Windows drive.
I was told by a friend that if I put my Ubuntu drive into the first position in my boot order and the Windows drive in the second, then I could boot into Ubuntu and run a GRUB update command (he told me to google it) and that would create the necessary GRUB that had the entries for Windows 7 and Ubuntu.Both operating systems are 64-bit, I imagine that might make a difference in whatever help you guys can offer me. I love the hell out of both OS's and want to be able to use them interchangeably.
I've been having a problem on my AMD based machine, 4cpu, gigabyte ga-ma78gm-s2h Mobo, 8GB mem, two 2 terabyte Sata HDs.One thing I've found is that any kernel after 2.6.32-17 has a randomness at boot time whether the system will completely boot or not.
For instance just today I downloaded and installed 2.6.32-24
It fails to boot (I've tried cold boot, warm boot).Running its repair also fails to completely boot.My experience is that if I keep trying it "may" eventually boot but I believe there was some change after 2.6.32-17-generic that's causing the problem.Because as with 2.6.32.23... which also fails to complete bootup many times... eventually my guess is that 2.6.32.24 will also boot "sometimes".But why does 2.6.32.17 always boot for me? Something changed and its not my setup.
I have Lenny, and Jaunty Jackaope installed on the same hdd. Jaunty Jackaope was installed 2nd so it has control of grub (I don't know if that is the correct expression) I want to remove Jaunty Jackalope however I know from past experience that after I do this I will no longer be able to boot into Lenny as I will get a grub error at startup. How to I give boot/grub to Lenny so that I can remove the other operating system?
View 3 Replies View RelatedThis is the third time I try unsuccessfully to install Debian as a second OS on a hard drive. When it gets to the end of the installation process the installer asks whether I want to go ahead with the Grub Boot Loader, I choose yes. The end result is however that I can't boot that partition within the hard drive -- i.e., Debian. Can someone tell me what is going on? Should I not use the Grub Boot Loader when I have more than one operating system on a machine? Should I not install Grub on the Master Boot Record (MBR)?
View 3 Replies View RelatedI'm trying to install Fedora onto a computer that has Windows XP on the first of two SATA drives. Windows 7 is on the second drive.
I installed Fedora no problems on a 14 gig free space I created on the first drive and told it where and what my other OS's were. Fine so far. I didn't tell it to overwrite the MBR on the XP (first) drive. I took the second option which I "think" put the boot loader on the fedora partition.
All good - till I rebooted and I just saw my Windows 7 loader with my options for XP and Windows 7 but no Fedora.
So, if I overwrite the MBR on the first drive, will that mean I can't access my Windows 7 installation?
How SHOULD I set up the boot loader?
The problem is this: I have a 320gb HDD splitted in 4 partitions. When I first installed Windows XP I formatted the HDD in 3 (Windows system partition, Media partition and another one I left for Linux). However Linux requires another partition for swap. Everything was just fine. One day Windows stopped working and I tried re-installing it. After the system was ready to start, Windows failed to boot with "NTLDR is missing" message. I tried to recover the Master boot record, even replaced NTLDR manually - nothing worked. I read that in order a HDD to be partitioned in more than 3 parts the so called "extended" partitions must be created. I think this may cause the problem but I don't want to wipe out everything (I have more than 100 GB of books most of which are not available anymore in the same locations I have downloaded them)
View 1 Replies View RelatedWhen I first installed Ubuntu as a dual-boot (about 18 months ago), I had problems booting to XP, which were eventually solved for me in this thread, which set Windows to boot Ubuntu, rather than the other way round.
I've just had to do a fresh install of Maverick, following a major problem, and I'm back to being unable to boot XP. The error is different from before and I don't want to start guessing at what to do about it and screwing things up still further.
The GRUB menu lists Ubuntu first, then Windows XP. If I choose XP, it takes me to my previous boot menu, with Windows as the first option. However, selecting this gives me
Code:
Windows could not start because the following file is missing or corrupt:
<Windows root>system32
toskml.exe
Please re-install a copy of the above file. Windows and Ubuntu are on separate hard drives. XP was fine until I re-installed Ubuntu.
I have 4 OS's on a publicly used pc. I want to hide the boot menu on GRUB2 and have it appear only when I press and hold the SHIFT key during boot. Will changing in /etc/default/grub GRUB_HIDDEN_TIMEOUT to 0 safely accomplish this goal? Also, what is the command for deleting all of the former kernel upgrades from the boot menu?
View 8 Replies View RelatedI'm currently on a work trip with my Asus G72GX laptop for non-work use (I'm posting from my work laptop). Yesterday, I accidentally booted into my laptop's recovery partition (from the Grub2 bootloader). Before I realized that that's what was happening, it booted into some kind of recovery program which ended up in an error. I restarted the laptop and couldn't get into the bootloader anymore. Now, the only thing that comes up is an error -- "error: unknown filesystem." Below that, it gives me the "grub rescue>" prompt. Most of the commands that sites list for grub rescue only return "Unknown command". ls works and lists all of my partitions: (hd0), (hd0,msdos, (hd0,msdos7), etc. down to msdos1. When I "ls (hd0,msdos" (etc, etc) it says "error: unknown filesystem."
I then started looking into booting from a Live Ubuntu USB drive. I've tried 11.04 and 10.04 now and they both do the same thing. I put them on an 8GB flash drive (only 1 at any given time) using Universal USB Installer and was able to get to the Ubuntu menu (Run Ubuntu from this USB, Install Ubuntu on a Hard Disk, etc.) If I try either "Run Ubuntu" or "Install Ubuntu", the screen flickers and comes right back to that menu.BTW, my 3 operating systems are: Windows 7 HP 64-bit, Mythbuntu 10.10 64-bit, and Windows XP 32-bit. Laptop hardware: Core 2 Duo P8700 2.53GHz, 6GB RAM, Nvidia 8800 GTX video card.