I am booting a linux kernel from a CD, it has an initrd...
when it loads INIT it goes to runlevel 1, which should execute /etc/init.d/boot but it says "Cannot execute /etc/init.d/boot"
I don't understand it, because the file is there...
Help?
INIT: Cannot execute HELP!!!
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
INIT: Cannot execute HELP!!!
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
The initrd is correct for the kernel that I am using. It is not custom...
chrooting? whats that?
chrooting? whats that?
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
It's not only shell scripts, it's executable files too.
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
piranha wrote:chrooting? whats that?
Code: Select all
mkdir /mnt/initrd
mount -t auto -o loop initrd /mnt/initrd
chroot /mnt/initrd
/etc/init.d/boot
Use 'exit' to leave the chroot'd directory.
Note that you need a shell within the ramdisk for this to work, otherwise try:
Code: Select all
chroot /mnt/initrd /etc/init.d/boot
John.
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Thanks, but how do you get to the command line for this? This is all running in VMware...
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Hey....
I figured it out with help from a redhat admin book. I didn't have the right libraries......
Thanks!
I figured it out with help from a redhat admin book. I didn't have the right libraries......
Thanks!
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io