LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 02-23-2004, 08:32 PM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
KNOPPIX q's: *SwapSpace *AddSoftware *boot Iso on /dev/hda1


Hello.

i appologise, ive asked one of the following 3 questions before on this forum,
but im sure il get forgiven for double posting as that was many days ago, and im still without a reply.

my questions in more depth are...

1)
Swap Space.....
i Intend to use Knoppix to boot a decent machine (pentium 2 266mhz 128megs ram)
that has a tiny hard disk, not enough space to install XFree86 And Gnome/KDE And software.

however im worried that i will not have ebough ram... could i configure Knoppix to use a partition on the hard disk as swap ?

2)Can i copy the ISO onto a hard disk partiton, and use a linux rescue floppy to boot it ?

3) is it possible to add aditional software to knoppix (booting via CD-ROM, using a local hard disk to store the binary's ?

thankyou to anyone who can answer any part of my question.
 
Old 02-26-2004, 07:31 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
to answer my own question, for the sake of others......

1)swap space... YES, knoppix can use spare writeable memory on hard disks as swap space, which can be deleted when not needed.

2)YES, you can install knoppix to a hard disk vie 2 possible methods...
i) use a program call knoppix-installer. the downside, is that it needs to decompress the cd from 700 megs to 2.5 gigs.... which is stupid cos knoppix is meant to be small

ii) my method....
use fdisk to greate a 710 meg partitonon a hard disk.. then
cat /path/to/knoppix.iso > /dev/700_meg_hard-drive_partiton

however you will need a boot floppy... which is on the knoppix cdrom.
mount -o loop /path/to/knoppix.iso /mnt/cdrom
cat /mnt/cdrom/knoppix/boot.img > /dev/fd0

the floppy disk is now a boot disk....
restart, insert boot disk, and set bios to boot from floppy.

3)possible to install new software....
YES....
when you get the boot prompt after booting knoppix 'boot:'
type 'knoppix home=/mnt/hda2` (or wherever you have writeable hard disk space)

the hard disk space must be set to writeable by all, or owned by user 'knoppix' with chown and chmod commands, before booting knoppix with that home dir setting.

now, you have a home directory (all changes made to user knoppix like backgrounds and themes will remain after reboot)

anyway, now programs can be installed to home directory... for example..
http://quakeforge.sourceforge.net
download from cvs (the normal release has a bug which means u cant load a saved game) then
./bootstrap
configure --prefix=/mnt/home_directory_you_chose
make
make install

works perfect. (you will need to copy some files from the orional id1 quake cd)

so to summerise...
yes, yes, yes
 
  


Reply



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
recovering from grub-install /dev/hda1 deleting windows XP boot loader Steve Mading Linux - Software 7 02-22-2010 07:53 PM
Grub Dual Boot /dev/sda1 /dev/hda1 jono268 Debian 4 01-14-2005 04:54 AM
boot for Knoppix 3.6 iso suguru Debian 3 10-21-2004 03:11 PM
\dev\hda1 ?! maoinchina Linux - General 6 10-06-2003 07:23 AM
boot record backup "dd if=/dev/hda1 bs=512 count=1 of=myfile" csDraco_ Slackware 4 04-20-2003 01:10 PM

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

All times are GMT -5. The time now is 12: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