| View previous topic :: View next topic |
| Author |
Message |
darkshadow
Joined: 10 Oct 2007 Posts: 10 Location: Canada
|
Posted: Sat Oct 13, 2007 5:24 pm Post subject: kboot forcing kernel to boot |
|
|
| I compiled a custom kernel to get udf 2.5 support and it works fine but due to a stupid mistake kboot can't find the kernel when booting. What command can I use at kboot to use /usr/src/linux/vmlinux as my kernel. Or get read+WRITE access to my filesystem with busybox so I canput vmlinux where it belongs. |
|
| Back to top |
|
 |
mc

Joined: 12 Jan 2005 Posts: 212 Location: Linköping
|
Posted: Sun Oct 14, 2007 12:08 am Post subject: |
|
|
Just put
mykernel='sda3:/usr/src/linux/vmlinux initrd=...
etc (provided your / is on sda3) in /etc/kboot.conf and it should work.
Or enter it at the kboot prompt. You can invoke a kernel manually by
simply typing the path to it in kboot. You can also use the mount command
to mount/remount any partitions if you want to modify them. _________________ Flying at a high speed
Having the courage
Getting over crisis
I rescue the people |
|
| Back to top |
|
 |
darkshadow
Joined: 10 Oct 2007 Posts: 10 Location: Canada
|
Posted: Sun Oct 14, 2007 2:05 am Post subject: |
|
|
I tried typing in the command exactly like it would be in kboot.conf but it never booted
my partition comes mounted read only and anytime I try unmounting it or just mounting it a second time as rw I get a device is busy error. |
|
| Back to top |
|
 |
darkshadow
Joined: 10 Oct 2007 Posts: 10 Location: Canada
|
Posted: Sun Oct 14, 2007 3:48 am Post subject: |
|
|
I got it figured out.
I finally got my file system remounted rw when I figured out that the system mounted /dev/cdrom in /mnt/root/mnt and that was what stopped me from unmounting /mnt/root
I am back in my system normally now. |
|
| Back to top |
|
 |
|