Displaying 2 results from an estimated 2 matches for "g4lmenu".
2009 Jan 01
1
OT: Question on running command from boot menu
...mount /dev/hda2 /mnt/localCRlzop -d -c /mnt/local/d8new.lzo |
ntfsclone -r --overwrite /dev/hda1 - CRumount /mnt/localCRsleep 5CRreboot"
The cd will the load the kernel, and the above line is in the /proc/cmdline file.
The user g4l automatically logs on, and this is at the beginning of the
g4lmenu script to process the cmdline if anything in the run=" " exists.
### 12/31/20008 added to allow running command from grub
### add run="command line" to the grub line
### creates /tmp/runcmd to stop running twice.
### added sed CR filtering to allow multi-line commands
### run=&...
2016 Mar 26
2
Follow up to adding EFI boot?
.../dev/loop0
echo "Mounting loop device in /mnt"
mount /dev/loop0 /mnt
echo "Deleting lost+found"
rm -R /mnt/lost+found
echo "Copy rootfs files to ramdisk in /mnt"
# Added -p to keep the file dates
cp -R --preserve=all bootcd/rootfs/* /mnt
# Added .bash_profile to run g4lmenu at start
cp -p bootcd/rootfs/.bash_profile /mnt
echo "Umounting /mnt"
umount /mnt
echo "Delete loop device"
losetup -d /dev/loop0
echo "Compressing ramdisk"
#gzip bootcd/isolinux/ramdisk
LZMA=`which lzma 2>/dev/null `
if [ $? = "0" ] ; then echo $LZM...