General :: When Try To Boot Stick It Gets As Far As Executing The Initramfs Init Script Then Restarts?
May 12, 2011
I'm booting Gentoo off of a usb-stick. This has been working previously but now when I try to boot my stick it gets as far as executing the initramfs init script then restarts.The last two lines of my initramfs/init are:
For a special purpose I needed a initramfs - that didn't work. So I reduced the initramfs setup to the simplest.
Mount the root and switch_root into it. But that didn't work either.
If I go with the init-script for the initramfs I posted below the system prints out the switch_root usage-text from busybox. But the syntax is right, ain't it?
When I use chroot instead of switch_root then it prints the usage-text of init before the kernel panic.
If I try with "/sbin/init 5" then, after a while the system reports "init: timeout opening/writing control channel /dev/initctl".
In the other cases I get the following error messages before the system hangs: "Kernel Panic", "Attempted to kill init", "init not tainted"
(With the init script below there is a error saying:"sh: can't access tty; job control turned off". I know why it's there - but don't know if it is connected to this problem.)
This information may be important: - The machine boots from a usb-harddisk - /sbin/init on the new root is available - the system on newroot is sane and runs perfect standalone (without initramfs) - the system on newroot uses baselayout-2 with openrc - busybox is built as static binary - busybox version is v1.15.3
I am trying something: I would like to access to some data stored on a usb stick while I am booting to the kernel using the "init=/bin/sh" parameters.Is that possible ?My USB stick is detected when I do 'cat /var/log/messages.log | grep sdb". I had to "modprobe usb-storage".Quote:localhot kernel : sdb: sdb1localhost kernel: sd 3:0:0:0: [sdb] Attached SCSI removable diskBut I still can't get it mounted.Quote:mount: special device /dev/sdb1 does not exist"
When using the Universal USB Installer and following the instructions according to the Ubuntu web site, I get the following error: an error () "occurred while executing syslinux. Your USB drive won't be bootable" There is no number between the brackets and I has no problem with a previous version of Ubuntu netbook remix.
While I was using my computer a few days ago, the terminal stopped working properly, so I tried to reboot, and when it started up again it wouldn't boot and said "no init found. try passing init=bootarg"
This has happened twice before, so I really need to figure out what keeps happening, otherwise I can't continue to use linux. i reinstalled both times before. i think that this is caused by a process that prevents me from using the hard drive, because when I try to check the disk in the terminal or in gparted, it says Device or resource busy while trying to open /dev/sda1. Filesystem mounted or opened exclusively by another program?
Also, in the disk utility, in the lower right corner of the filesystem it has a spinning "loading wheel".(i'm not sure if that means anything)
I am using ubuntu 10.10, but am not sure what kernel I am using, but i tried a few different kernel options(there's three of them at start up). safe mode does not work either.
I followed a tutorial to install XP across my entire HDD. I installed Ubuntu 10.10 "Alongside another OS". Ubuntu loads fine, but when trying to load XP, the boot screen shows up, but then the computer restarts and returns to the GRUB menu.
I saw some threads on this site and tried to type: sudo gedit /boot/grub/menu.lst
In the terminal. It returned a blank text document so I'm not sure if that information was outdated. I then typed: sudo fdisk -l
And got this:
Not sure what any of this means, but I sure hope someone else does. I would say forget XP, but it's hard to let go of some of the games and software I use. I appreciate any responses, thank you.
I tried to format the table as it appeared, but the forum corrected the extra spaces.
I have a jar file which can be executed by going to the directory and then running 'java -jar start.jar'. Start.jar is the Solr example server.I would like to create a boot script in init.d for this, but have little experience with this.Is there a way to specify the 'current' directory in a boot script?
I upgrade to 10.10, and now I can't boot normally. The only way I can get X going is if I boot to the previous kernel's recovery mode and choose failsafeX.
I have been using 11.04 for about a day, I go to boot up and it goes into busybox initramfs instead of booting into Ubuntu. The options to my boot in grub, and the errors I get when booting into initramfs are in the pictures attached to this post.
My computer is set up as a dual boot into windows 7 and ubuntu, but since I installed the latest updates, every time hit enter to boot into ubuntu the computer just restarts. It doesn't even go into the ubuntu grub loader like it usually does
I'm running Karmic on an AMD 64 on Efficient PC (Re-badged Asus Anubis), with Nvidia Corporation MCP51 High Definition Audio card.In recent days my system has been freezing, although this has generally been solved with a reboot.Now, however, GRUB is failing to start Karmic, and is dropping me into initramfs.I have tried a systemrescue cd (see here http://www.sysresccd.org/Main_Page), which when I switch on slows down at
ATA1 port is slow to respond forcing hard reset comreset failed errno=-16
I have installed a Debian System on a removable USB-drive just the same way I would do it for a normal harddisk drive.All was working fine until I tried to boot the system.I have set up the USB-stick as first boot device in the BIOS, and written grub in the MBR of the stick.When trying to boot it, "Grub Error 2" will always be risen (I am using grub-0.98).
The only drive I have installed except the USB-stick is a SATA-harddisk, so normally the USB-stick is called /dev/sdb.I have already tried changing root in menu.lst to (hd0,0) or the kernel root to /dev/sda1 but nothing seems to help.
I'd like to create a bootable USB drive containing a Linux minimalist: In fact I want to do is boot from the USB (compatible BIOS), as a minimalist Linux starts, and runs a file Shell, then at the end of this execution, displaying a root prompt (command line) to the execution of some commands summary.
- No GUI
- Network access required
- Minimal Linux system (the minimum necessary to boot and run a file Shell), with selection of preloaded commands (grep, pico, cat, ...)
I saw on the net that is doable with DOS on Windows, but nothing on Linux. So I need help, because everything I find is related to an existing system (Ubuntu, Debian, ...), I want a gold basis the most minimalist and lightweight as possible. What I presented is feasible or not? If yes, how to achieve it?
I am not sure if this is the correct section but it has to do with a faulty HD. So, the datacenter confirmed that the HD needs to be changed. They put it back and asked me when they should replace it. I told them to wait a bit.
Since then, one of the VPS hosted in this server is booting on "initramfs"
just installed hardy after I removed Maverick since it doesn't support my ati graphics. I installed it inside my windows xp pro and run smoothly after installation, added couple of widgets and so on... after I restarted it the next time, a balloon showed on top saying 113 or so updates are available, so I updated it.
After update I reboot my lappy and it won't get to my ubuntu anymore but works fine with my xp. I tried several searches on the net to find the solution but can't really figure it out. I just tried running Boot info script as it might help experts figure out what's wrong with my box and here's what it shows:
I recently installed new hard drive and cloned old hard drive software onto it. The bootloader installs either linux or other operating system. Ever since the cloning, boot hangs. Words in the thread title are the last to appear before everything grinds to a halt. Just before the kernal panic message appears, "Initrd finished" is last line. Will have to try booting again to find more info before this.
I had perfectly working lucid on my laptop (64 bit) which I installed from a live CD not wubi. I tried to upgrade with update-manager and everythingooked fine until I accidentally updated compiz from the cache before everything else finished. this made compiz stop working completely, which also broke metacity. I tried to fix this with multiple things: Downgrading compiz (failed to apply changes), sudo apt-get install -f, finishing the upgrade (see the following).
during the applying changes stage of the upgrade i got an error with almost every package it tried to apply (sorry I don't know what, but it said something about 'this package failed to upgrade and may be left in a broken state'. I let the upgrade finished and at the end it said 'Upgrade Finished but not all changes were successfully applied' and I shut down the computer. when I turned it back on everything looked fine until I past to the usplash screen. Then the screen went black, a bunch of error messages scrolled by too fast to read, and my system rebooted.
I tried recovery mode and another kernel choice at grub but all did basically the same thing. Windows still works as much as it usually does but I want my ubuntu back! I am OK with doing a fresh install if I can somehow recover a small amount of my data in my home folder. If you can tell me how to get into ubuntu from windows or something that would be great but I also need to know how to decrypt my home folder (I used the encrypting option in the installer)
I updated a RHEL 4 system today using up2date and when the system rebooted it just said "GRUB" on the screen for a few seconds and then restarted (and did this over and over and over).
I booted from a rescue CD and was going to reinstall grub.
Here's the kicker: this machine has two hard drives configured with software RAID 1, and I don't want to screw up the mirroring by tinkering with grub.
/etc/fstab shows that /boot is at /dev/md0 but "/sbin/grub-install /dev/md0" doesn't work ("/dev/md0 does not have any corresponding BIOS drive").
I have a bad feeling that if I do "/sbin/grub-install /dev/hda1" that I'm going to screw up my mirroring.
ubuntu 9.10 is not booting shows Gave up waiting for root device.", (initramfs). how to boot normally from this problem. The problem is coming from installed system.
I just removed a proprietary (fglrx ) driver which didnt work out well.Now all my updates hanging on: Setting up initramfs-tools (0.98.1ubuntu6) ...update-initramfs: deferring update (trigger activated)Setting up linux-image-2.6.36-020636-generic (2.6.36-020636.201010210905) ...Running depmod.update-initramfs: Generating /boot/initrd.img-2.6.36-020636-genericAnd I dont know how to solve it...besides a clean install.
Okay, so on occasion when I boot into ubuntu I get this error
[mount: mounting /dev /root/dev failed: no such file or directory] [mount: mounting /dev /root/sys failed: no such file or directory] [mount: mounting /dev /root/proc failed: no such file or directory]
[code]...
I get the error when I open any of the kernel versions or any recovery mode. Ubuntu 10.10 Desktop is the only OS installed on the computer, which is a Lenovo S10-3. I can eventually get it to go away, sometimes by repeatedly unplugging it and plugging it back in, and sometimes I will boot into GParted, do nothing, then restart and it will work.I have found some solutions online, but all of them involve the error happening as a result of dual booting with Windows.I have made no major system changes recently, so I can't see anything like that being the problem.
I don't really have any Linux experience. But I wanted to try it out. Now I'm afraid I did not set this up properly. Grub gives me 3 options:
Fedora (2.6.38.8-32.fc15.x86_64) Fedora (2.6.38.8-26.rc1.fc15.x86_64) Other
When I select <Other> to boot into windows... it starts to try to boot... but then flashes a quick blue screen & restarts. I tried to boot into Window's normal mode, safe mode, and command line... all just restart fdisk -l gives the following:
im searching for this answer now a pretty long time and i know that many similar questions where asked and i all looked themIm trying to run a the command "vncserver" on our opensuse11.2 server when its booted.many posts here endet in "put a sh script into your /kde4/Autostart" but that didtn help for me because the server runs without a screen and normally nobody is logged in. When i logged in that worked fine.i also tried to add the command "vncserver" to "/etc/init.d/boot.local " but that didnt work too. i think its to early executed to work.i also tried to activate the service to start up at boot with chkconfig vncserver start but the service vncserver is "unknown". when i type vncserver into the console after logging in everything is alright.you see i really tried a lot and searched a long time at google and in this forum but nothing worked
Execute a script as a non-root user at boot time. The script lives in /home/sbrown/scripts and has the executable bits set. If I run the script locally in the shell it behaves as normal, but will not at boot time It's a very simple 2 line script:
#!/bin/bash # Starts IRSSI in a screen session sudo -u sbrown screen -S irssi irssi
Here's WHAT DOESN'T work:
I put this in /etc/rc.local: sudo -u sbrown /home/sbrown/scripts/irssi_exec I also tried just copying the script to /etc/init.d/ and chowning it to root then ran update-rc.d irssi_exec defaults and rebooted. Still not working. This is on a Debian Squeeze box... what am I missing? Surely it should be simpler than this
I have a debian system that's freezing in the boot sequence at "Setting system clock".Several sites I looked at recommended changing the init scripts to disallow hardware access to the clock. But, I can't boot! Is there a parameter I can pass to the kernel at boot so that it will skip init scripts?
I am having some issues about every other time y to boot into Arch linux.it is installed on my third hard drive, and my grub from Fedora is what it boots from.about every other time i try to boot into it i get this error:
Code: Waiting 10 seconds for device /dev/sdb3... ext4-fs (sdb3): mounted filesystem with ordered data mode Opts: (null)