Fluxbuntu - "poor man's install" - is it possible
Basically I do not want to do a proper HDinstall, I just want to copy the entire contents of the live CD onto a spare partition and boot from there. I know this was possible in Knoppix using the "frmhd=/dev/hd*" cheat code. I was wondering if there is something similar for Fluxbuntu.
I've made initial attempts at this but only get as far as a limited shell.
I've got a grub boot floppy with Fluxbuntu as one of the menu options. The contents of the live CD are on /dev/hdb5 ( my 2nd hard drive)
Menu.lst is like this
but then get error messages like "/dev/hdb5 on /root failed no such device."
/root/dev on /dev/.static failed
Target filesystem does not have /sbin/init.
I then get dropped in an "ash" shell with limited functionality.
Obviously the kernel "cheat codes" need adjusting. Any ideas ?
I'm not sure this has been done before as I have got no response from the Fluxbuntu community forums.
are you thinking of something similar to the Ubuntu live CD where you can tell it to install to the Hard Drive? Most liveCDs will allow for installation.
look at this screenshot:
it already has the option for installing.
I think you misunderstood. It is not an "install" as such. What you do is manually copy all the files from your cd onto a spare partition. Then you give your bootloader (in my case Grub froom floppy) instructions to boot from that particular partition. There is no software installation as such. So in effect you are running the "live CD contents" but off your hard drive instead of the CD drive so your CD drive remains free for other tasks. This can be done in Knoppix where you use the "fromhd=/dev/(hd where your live cd files are kept)" cheat code.
Probably not what you mean but knoppix has the cheatcode toram which loads the kernel to ram memory and then ejects the cd.
it just hit me!
i think the answer to the problem is NOT to change the root device to /dev/hdX but to put /dev/ram. this is because you are still on a live system which loads everything to ram. i'll try it out myself to see what will happen but i think that the first root=hd(X,Y) option doesn't have to be the same with the second.I'll post back for the results of my tests
Alxarch you are right.
I have successfully done the same with Slax. Here is the Grub stanza.
title Slax 5.1.8
kernel /boot/vmlinuz from=/dev/hdb5 root=/dev/ram0 ramdisk_size=1048576
max_loop=255 ide=nodma rw init=linuxrc
I will try the same with Fluxbuntu and see if it works. I assume the "from" boot option will be valid.
|All times are GMT -5. The time now is 01:38 AM.|