Re: I need to move my Live-CD to HDD manually, because my Live-CD have no installer.
- From: "iforone" <floydstestemail@xxxxxxxxx>
- Date: 2 Feb 2006 04:55:29 -0800
aunil321@xxxxxxxxxxxx wrote:
iforone 寫道:
aunil321@xxxxxxxxxxxx wrote:
aunil321@xxxxxxxxxxxx 寫道:
Execuse me, i have solve the problem now. i can move the live-cd to hdd
and save the setting by using shell script. That' s great, thank you
for contingous helping.
But one more question:
the system have mounted the HDD (my hda3 is ext2 now) after the boot
process, then it also success in loading the script "knoppix.sh" which
i wrote. And then, when it finish loading the desktop (startx). i found
that it doest not really mount the hda3 because i open file browser the
/mnt/hda3 directory can't display the content.
I need to run other script after finish loading desktop ? if need,
where should i place the script? Please help.
I may be wrong, but i found my mount listings in /etc/fstab
Open the file and add another line(s) that's in keeping with the format
already there for the other hda entries -- i don't know if/how your
knoppix.sh needs to be modified also.
<http://www.humbug.org.au/talks/fstab/fstab.html>
<http://www.tuxfiles.org/linuxhelp/fstab.html>
Thanks Iforone! In fact, I am a Hong Kong person and my English is not
very good.
That's ok :-) - it isn't so bad that I can't understand you...yet,
sometimes, very specific procedures may be difficult for us to exchange
in detail -- I will certainly try though.
Thanks! you gave me a road to find my place and the target near and
near to.
Welcome :>)
/etc/fstab is an important hint although i can't config it. It is
because i found that the "fstab" is came form live-cd image and loaded
after the boot process completed.
So, if i have configed it, it will disappear when restart computer.
However, what do u think "automount" command? Can it solve my problem?
If it does, how to use that command? thank you very much.
I too had a problem trying tho edit /etc/fstab...however, some
thoughts;
*perhaps pointing to your knoppix.sh file using the cheatcode
('myconf='), while also using the image on the HDD ('fromhd='). I use
'knoppix26' in my older Knoppix 3.6 version (to specify the 2.6 kernel
- in August of 2004, it was still experimental), rather than just
'knoppix' or 'knoppix24' for the 2.4 kernel.
knoppix26 fromhd=/dev/hda? myconf=/dev/hda?
where '?' is the number assigned to that partition -- I've been using
the 'fromhd=/dev/hda6' code lately so once the CD boots (that's my
partition where the Knoppix image resides), the Knoppix image on the
HDD is being used to run the OS (hda6 seems to be mounted as CDROM
using this method /mnt/cdrom)...i don't have a clear answer yet but I'm
pretty sure that (cloop, UnionFS) has something to with this behaviour.
My knoppix image is on hda6, yet my config settings (knoppix.sh and
configs.tbz are on /hda5) -- in the forums I posted a link to, it's
been noted to separate these (onto separate (partitions) as I have.
You *may* end up having to "Remaster" the OS CD (Customize it - see
below, and visit the knoppix wiki about Remastering)
You may have already found this information...Here are some notes to
consider from the "knoppix-cheatcodes.txt" file found in /KNOPPIX
Directory on the CD;
===============================================================
knoppix toram Copy CD to RAM and run from there
knoppix tohd=/dev/hda1 Copy CD to HD partition and run
from there
knoppix fromhd Skip checking for Knoppix on CD-ROM
knoppix fromhd=/dev/hda1 Boot from previously copied
CD-Image
knoppix bootfrom=/dev/hda1 Access Image then boot from
previously
copied CD-Image (enables booting
from
NTFS / ReiserFS) ***)
knoppix bootfrom=/dev/hda1/KNX.iso Access image, boot from ISO-Image.
(***)
knoppix knoppix_dir=KNOPPIX Directory to search for on the CD.
knoppix knoppix_name=KNOPPIX Cloop-File to search for on the CD.
knoppix testcd Check CD data integrity and md5sums
expert Interactive setup for experts
NEW Kernels and Options in version 3.4:
knoppix26 [Options...] Boots with Kernel 2.6 (2.4 is
default)
expert26 [Options...] Same for expert mode
knoppix26 acpi=off Disable ACPI configuration in
Kernel 2.6
memtest Run memtest86 instead of Linux
[...]
(***) Bootfrom needs access to a running Knoppix-System with the same
Kernel
as the Bootkernel, before it is able to mount the partition /
ISO-Image.
This should allow a poor mans install from NTFS-Partitions and makes it
also possible to boot an ISO-Image directly. You can also use wildcards
in the ISO-Filename, but it must be unique. So: If you have just one
KNOPPIX.iso on /dev/hda1 you can access it as:
bootfrom=/dev/hda1/K*.iso,
but if there are several, you need to make clear, which one you want.
(Feature added by Fabian Franz.)
[...]
The "floppyconfig" or "(my)config=/dev/partition" options allow you to
reconfigure the system after autoconfiguration by running a bourne
shell script called "knoppix.sh" from the root directory on the given
device (or floppy). There is a GUI to create such a configuration
floppy disk calles "saveconfig" (also located in the KDE menu under
"KNOPPIX", but experts also know how to do this by creating their own
shellscripts. From Version 2.1 and up, a file called "knoppix.sh", if
located in the toplevel KNOPPIX directory on CD, will also be executed
at startup. This makes ist easier to create customized versions without
having to change anything on the compressed filesystem KNOPPIX/KNOPPIX.
SCSI-Emulation is active for all CD-Roms (unless you switch it off by
using the "atapicd" option), so IDE CD-Writers should work with the
installed versions of cdrecord and cdrdao (or the graphical frontends
thereof, k3b for example).
If your BIOS does not support el torito booting from CD, you can create
two bootable floppy disks by issuing (from Knoppix running on a
different
machine) the command "mkbootfloppy", which will create a bootable
Kernel-disk plus a disk containing the initial ramdisk, which will be
prompted for at boottime.
If you wish to remaster the CD, please don't forget to specify
-no-emul-boot -boot-load-size 4 -boot-info-table \
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat
as option to mkisofs. Otherwise your CD won't be bootable. The
directory KNOPPIX, containig the compressed filesystem file "KNOPPIX",
must be located in the top level directory of the CD.
==================================================================
I'm having a heck of a time futzing with a livecd as an install - and
will likely throw in the towel, and get a distro that's 'meant' to be
installed, since this cloop unionfs, emulation, running the OS in RAM
and letting it use the separate swap partition really makes no sense -
that's why it's a 'livecd'...it can be used for forensic analysis and
many other things (repairing broken systems and configurations, data
recovery, etc).
I am still figuring this out as I go along as well - otherwise I'd give
you clear and concise instructions - sorry
.
- References:
- Prev by Date: Re: Suse 10.0 problem
- Next by Date: Re: wheel mouse not working
- Previous by thread: Re: I need to move my Live-CD to HDD manually, because my Live-CD have no installer.
- Next by thread: Re: Where are the config files for the VNC server ?
- Index(es):
Relevant Pages
|