Boot image

1

Boot image

offline
  • Pridružio: 29 Avg 2005
  • Poruke: 720
  • Gde živiš: Beograd

Da li mogu da napravim "boot image". Planiram da moj Knoppix Linux na cd-u prebacim u neki image koji moze da se bootuje ( sa hard diska ), kako bi mi dvd rom bio slobodan. Da li je to izvodljivo?



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Dark 
  • Zaslužni građanin
  • Pridružio: 03 Dec 2003
  • Poruke: 677
  • Gde živiš: Beograd

Ne treba ti to. Kad se boot-uje knoppix iz konzole kao root otkucaj knoppix-installer i pokrenucesh instalaciju knoppix-a na hd. I ova tema bi trebala da bude u Linux



offline
  • Pridružio: 14 Nov 2003
  • Poruke: 324

Čovek hoće da radi sa KNOPPIX-om a ne da instalira na hard disk.

Najbolje bi bilo, a ne znam da li je moguće, da koristi ALCOHOL 120% pa da diže sa ALCOHOL-om.

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

Knoppix je samostalan sistem, zašto bi se podizao pod windows-om???

offline
  • Pridružio: 29 Avg 2005
  • Poruke: 720
  • Gde živiš: Beograd

Nisam ni mislio da ga koristim pod windowsom, vec da oslobodim dvd rom. Da bi pokrenuo knoppix resetujem pc i ubacim cd i on tu stoji dok god ne izadjem iz linuxa. Tu je i problem, hocu da se on ne bootuje sa ced-a nego sa nekog image na hardu, kako bi mogao da koristim dvd u linuxu.

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

pa onda ga instaliraj kako ti je već objašnjeno.

offline
  • Pridružio: 04 Sep 2003
  • Poruke: 24135
  • Gde živiš: Wien

Slax ima "toram" opciju, mislim da nesto slicno postoji i za Knoppix. To ce ceo OS da ucita u RAM, sto oslobadja citac. Stisni F2 pri podizanju Knoppixa za dodatne opcije.

offline
  • soxxx 
  • Prijatelj foruma
  • Pridružio: 25 Maj 2005
  • Poruke: 1482
  • Gde živiš: Gracanica, Kosovo

By Kyle Rankin
October 2004
More Info

HACK
#5
Free Your CD to Make Knoppix Run Faster
Make Knoppix run faster by loading the Knoppix image to RAM or saving it to the hard drive. This also frees your CD-ROM drive for other uses
[Discuss (7) | Link to this hack]


Compared to other live-CD distributions, Knoppix runs surprisingly quickly, considering that it downloads data from a compressed image on the CD. If you want to speed things up, but aren't ready to install Knoppix on your hard drive just yet, there are cheat codes that allow you to copy the complete Knoppix CD image to either RAM or a partition on your hard drive, and run it completely from there. These cheat codes give you the added benefit of freeing up the CD-ROM drive for other uses—particularly handy if you have only a single CD-ROM drive in a system; you can play music or burn other CDs simultaneously while using Knoppix.

The toram cheat code instructs Knoppix, before it does anything else, to create a large ramdisk and copy the complete CD there. A ramdiskis a virtual hard disk that your operating system creates by setting aside a certain amount of your RAM. When you boot with this cheat code, Knoppix warns you that it might take some time to copy the full image and provides a progress bar while the image is copying. The Knoppix CD image is approximately 700 MB by itself, so this option is only for those of you with 1 GB or more RAM in your system, because even after copying the CD to RAM, Knoppix still needs a good portion of the RAM for loading applications and writing temporary files. If Knoppix runs out of space to copy, it alerts you that it ran out of space and cannot complete the copy and drops back to loading directly from the CD-ROM.

If you don't happen to have over a gigabyte of RAM in your system, you can still free up your CD-ROM drive by using the tohd cheat code. Similar to the toram cheat code, this cheat code copies the complete CD image to a partition on your hard drive. This partition can be almost any filesystem that the Knoppix supports, including Windows filesystems such as FAT and FAT32. NTFS (the default filesystem for Windows 2000 and Windows XP) cannot be written to directly, and it will not work with the tohd cheat code. This cheat code expects you to pick the partition using Linux device names, so if you want to use the first partition on your Primary IDE hard drive, type:

tohd=/dev/hda1
If you are unsure which device name to use, simply boot Knoppix from the CD and make note of the names on the hard-drive icons on your desktop. You can use any one of these devices that has enough available space. As with the toram cheat code, tohd requires you to have over 700 MB free on your partition. Knoppix copies its CD image into a directory called knoppix at the root of the partition that you specify.

One advantage to using the tohd cheat code is that the knoppix directory it copies is not deleted when you reboot. In subsequent boots, you can reference the already copied image by using the fromhd cheat code. So, if you have previously used the cheat code tohd=/dev/hda1 on a computer, type this command to use the same image again:

fromhd=/dev/hda1
You can even just type fromhd without any arguments, and Knoppix scans the hard-drive partitions for you.

Boot from a CD Image
A new feature in Knoppix 3.4 is the bootfrom cheat code. With this option, instead of a CD, you can choose an ISO image you currently have on your hard drive for Knoppix to run from. While similar to the fromhd cheat code, bootfrom uses an actual Knoppix ISO that you must already have on your hard drive. One stipulation for this cheat code is that the ISO you choose must have the same kernel version as the CD-ROM you are using to boot. There are different ways to check the kernel version, but probably one of the best ways is to go to a Knoppix mirror and download the KNOPPIX-CHANGELOG.txt file. This file lists all of the major changes in each Knoppix release and usually lists the kernel versions for each release. Otherwise, to quickly check the kernel version from within Knoppix itself, run the following command in a terminal:

knoppix@ttyp0[knoppix]$ uname -r
2.4.26
To boot from an ISO, type bootfrom followed by the full path to the ISO file. The bootfrom cheat code expects the same Linux paths as tohd and fromhd, so if you have Knoppix.iso in the root directory on your Primary IDE hard drive, type:

bootfrom=/dev/hda1/Knoppix.iso
The bootfrom cheat code is particularly useful if you are customizing Knoppix , as you can have multiple ISOs in a single directory and choose between any of them at boot time. This cheat loads from an ISO and not directly from a CD, so you aren't restricted by the 700 MB capacity limit of a CD-ROM. If you are modifying your own Knoppix-based distribution and are having a difficult time squeezing it all within 700 MB, test your images directly from the ISO without having to worry about the CD size requirements.

After you boot off of the stored image, the Knoppix CD no longer needs to be mounted, so you can eject it and use the CD-ROM for other tasks. You can also use these cheat codes as an intermediate step before fully installing Knoppix to your hard drive; though most of the system files will be read-only, you still benefit from the speed of a full hard-drive install.
Source/Preuzeto sa: http://hacks.oreilly.com/pub/h/2448

Dopuna: 12 Sep 2005 13:20

Znaci kad pokreces Live CD ukucas: Knoppix tohd=/dev/hda1 (za prvu particiju na disku) i onda kada nakon toga restartujes komp boot-uj sa fromhd=/dev/hda1 i onda mozes da izvadis CD...
Druga opcija ti je jos bolja; kopiras .iso fajl koji ti je na disku ili koji si skinuo sa neta recimo na c:\knoppix.iso i onda ubacis Live CD, boot-uj sa bootfrom=/dev/hda1/knoppix.iso i onda mozes da izvadis CD i da koristis CD-ROM za druge poslove...Ako sam negde pogresio neka me isprave iskusniji sa foruma. Pozdrav!

Dopuna: 12 Sep 2005 13:24

I da, za toram opciju ti treba barem 768mb rama-a.

offline
  • Pridružio: 21 Jun 2005
  • Poruke: 134
  • Gde živiš: Vozdovac, KumodrazI

zar niste rekli u postu ispod ovog da ne moze knopixx da se startuje sa hd-a, tj da ne moze da se sa live cd instalira na hd?

offline
  • Pridružio: 04 Sep 2003
  • Poruke: 24135
  • Gde živiš: Wien

Receno je da ne moze da se instalira iz Windowsa, mora prvo da se nareze na CD. Ima doduse fora da se instalira iz Windowsa, a nazivaju je "poor man install", ali podrazumeva malo vise posla. Sve ovo je lepo objasnjeno na Knoppix forumu.

Ko je trenutno na forumu
 

Ukupno su 1072 korisnika na forumu :: 52 registrovanih, 9 sakrivenih i 1011 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., Apok, babaroga, bobomicek, Bobrock1, bokisha253, brundo65, cavatina, cinoeye, darcaud, Denaya, Dorcolac, Dovla, DPera, dragan_mig31, draganl, elenemste, FileFinder, goranperović66, h8propaganda, HrcAk47, hyla, ikan, kovinacc, Krusarac, kybonacci, ljuba, lord sir giga, maiden6657, MiGac, Mihajlo, Mika_NS, mikrimaus, milenko crazy north, MrNo, nebidrag, Neutral-M, nick79, nikoladim, Parker, Romibrat, solic, Srle993, suponik, tmanda323, Tvrtko I, vathra, vlad4, Volkhov-M, vukovi, zafon031, zillbg