Results 1 to 1 of 1
I was bored so I decided to read LFS, but after reading a little I decided I want to start at something simpler. I just wanted to get a command ...
- 12-18-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 1
Linux with init replaced with bash
I was bored so I decided to read LFS, but after reading a little I decided I want to start at something simpler. I just wanted to get a command line with minimal work.
I've compiled the kernel and created an initial ram disk and copied them to the root directory of another drive. I also copied bash from /bin/bash to the root directory. However when I boot with grub using:
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
linux /vmlinux init=/bash
initrd /initrd.img
It just falls back to grub without any errors.
Any help?


Reply With Quote