[BusyBox] pivot_root with HardHat Linux 2.0

Jason A. Pattie pattieja at pcxperience.com
Wed Feb 27 08:26:03 UTC 2002


Harbold, John wrote:

># Pivot root filesystem
>
>/bin/pivot_root ./ initrd
>
># NOTE:  At this point, I can't execute any utilities,
>#             even though they have full pathnames.
>
Haven't done pivot_root's for awhile, but don't you need to " 
<dev/console >dev/console 2>&1" after chroot'ing?  and you might want to 
just use '.' instead of './' in your pivot_root.

-- 
Jason A. Pattie
pattieja at pcxperience.com






More information about the busybox mailing list