LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-23-2007, 05:01 AM   #1
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Rep: Reputation: 30
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

Code:
title Fluxbuntu
root (hd1,4)
kernel /casper/vmlinuz ramdisk_size=1048576 root=/dev/hdb5 rw quiet splash--
initrd /capser/initrd.gz
savedefault
boot
I get to "uncompressing Linux kernel OK"
but then get error messages like "/dev/hdb5 on /root failed no such device."

/root/dev on /dev/.static failed
etc etc
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.
Thanks.

Uncle
 
Old 02-23-2007, 05:20 AM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
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:

http://shots.linuxquestions.org/?lin...Kubuntu%206.10

it already has the option for installing.
 
Old 02-23-2007, 05:38 AM   #3
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Original Poster
Rep: Reputation: 30
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.

uc
 
Old 02-23-2007, 06:02 AM   #4
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
Probably not what you mean but knoppix has the cheatcode toram which loads the kernel to ram memory and then ejects the cd.
http://www.kernel.org/pub/dist/knopp...cheatcodes.txt
 
Old 05-12-2007, 12:42 PM   #5
alxarch
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
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
 
Old 05-15-2007, 08:58 AM   #6
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Original Poster
Rep: Reputation: 30
Alxarch you are right.

I have successfully done the same with Slax. Here is the Grub stanza.

==========================================
title Slax 5.1.8

root (hd1,4)
kernel /boot/vmlinuz from=/dev/hdb5 root=/dev/ram0 ramdisk_size=1048576
max_loop=255 ide=nodma rw init=linuxrc

initrd /boot/initrd.gz
savedefault
boot
================================================

I will try the same with Fluxbuntu and see if it works. I assume the "from" boot option will be valid.

Cheers,
Uncle

Last edited by uncle-c; 05-15-2007 at 09:01 AM.
 
  


Reply

Tags
cheat, code, fluxbuntu, install, man



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Vista "Blinded" by poor code - planning LXer Syndicated Linux News 0 02-04-2007 09:21 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
Wanna do a poor man's slacktop... papa0822 Linux - Laptop and Netbook 2 10-12-2004 06:59 PM
Poor 3d performance with ATI Radeon 7500LE desipte "Direct rendering enabled" tallman Linux - Hardware 5 06-16-2004 11:31 PM
Knoppix - "poor man's"/98se ...dualboot? (same hd) OceanDead Linux - Newbie 5 05-01-2004 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration