Please add support in unionfs in the live cd to allow booting ubuntu ISO in the hard disk

nadav vinik nadavlists at gmail.com
Wed Aug 23 16:35:10 BST 2006


I guess it doesn't.

I investigate the slax initrd.

The part in the "linuxrc" file which apply this is:

# try to find livecd data directory. If not found, try modprobing
# USB kernel modules and repeat the find procedure again
echolog "looking for data modules"
DATAFROM="`cmdline_value from`"
DATAFROM="`find_file $MOUNTDIR $DATAFROM`"
# when from= is used, search for livecd.sgn
if [ "$DATAFROM" ]; then
   mount_device $DATAFROM $ISOMOUNT
   if [ 0$? -eq 0 -a -e "$ISOMOUNT/$LIVECDSGN" ]; then
      echolog "found in $DATAFROM"
      DATA=$ISOMOUNT
   fi
fi

if [ "$DATA" = "" ]; then
   # from= is not used or it didn't contain livecd.sgn
   DATA="`find_file $MOUNTDIR $LIVECDSGN`"
   if [ "$DATA" != "" ]; then
      DATA="`dirname \"$DATA\"`"
   fi
fi

if [ "$DATA" = "" ]; then
   # data still not found, probe for USB devices and wait
   modprobe_usb_modules;
   echolog -n "waiting for usb devices .."
   for i in 1 2 3 4 5 6 7 8; do # max 36 seconds, prolong the delay each time
      echo -n "."
      create_block_devices >/dev/null
      DATA="`find_file $MOUNTDIR $LIVECDSGN`";
      if [ "$DATA" != "" ]; then
         DATA="`dirname \"$DATA\"`"
         break;
      fi
      sleep $i;
   done
fi



The other methods which it is use are place in liblinuxlive

On 8/23/06, Andrew Jorgensen <andrew.jorgensen at gmail.com> wrote:
> On 8/23/06, nadav vinik <nadavlists at gmail.com> wrote:
> > Sorry that I didn`t good explain.
> >
> > In slax there is a boot option "fromiso" which allow to boot into ISO
> > in the hard disk instead of the cd.
> >
> > It's allow to only copy the kernel and its initrd and set the grub to
> > boot the ISO without burning at all or use the cdrom.
>
> Interesting.  What does that have to do with unionfs?
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linuxrc
Type: application/octet-stream
Size: 5648 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060823/f6bc071b/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liblinuxlive
Type: application/octet-stream
Size: 15715 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060823/f6bc071b/attachment-0003.obj 


More information about the ubuntu-devel mailing list