Registrace nového uživatele     Návod     Kluby     Archív  Lopuchu     Lopuch.cz  

Já Vánoce juchuchu
oslavím na Lopuchu!

Lopuch.cz

Jméno:
Heslo:
Podpora LCD:
 
Archiv klubu Linux pro začátečníky [ŽP: neomezená] (kategorie Počítače - V ODPADU) moderuje Šéf Lopuchu.

Tento klub bude v brzke dobe zazalohovan a smazan. Presouvame se do Linuxu. Diky.

  Nastavení klubu     Nastavení práv     Homepage     Anketa     Přítomní     Oblíbené     Lopuch     Kategorie  
autor: 
text: 
vyplnit a 
Help

Nemáte právo psát do tohoto klubu. Práva vám může přidělit moderátor klubu. Požádejte ho v soukromé poště.

[ 918 ] <Novější  <<<Nejnovější  Nejstarší>>>  Starší>  
themajkl themajkl All those moments will be lost in time - like tears in rain. 6.12.2004 13:25  1522
FuxoftA.2.5. Booting from hard disk

It's possible to boot the installer using no removable media, but just an existing hard disk, which can have a different OS on it. Download hd-media/initrd.gz, hd-media/vmlinuz, and a Debian CD image to the top-level directory of the hard disk. Make sure that the CD image has a filename ending in ".iso". Now it's just a matter of booting linux with the initrd. Section 5.1.2, “Booting from linux using LILO or GRUB” explains one way to do it.

5.1.2. Booting from linux using LILO or GRUB

To boot the installer from hard disk, you must first download and place the needed files as described in Section 4.5, “Preparing Files for Hard Disk Booting”.

If you intend to use the hard drive only for booting and then download everything over the network, you should download the netboot/debian-installer/i386/initrd.gz file and its corresponding kernel. This will allow you to repartition the hard disk from which you boot the installer, although you should do so with care.

Alternatively, if you intend to keep an existing partition on the hard drive unchanged during the install, you can download the hd-media/initrd.gz file and its kernel, as well as copy a CD iso to the drive (make sure the file is named ending in ".iso". The installer can then boot from the drive and install from the CD image, without needing the network.

For LILO, you will need to configure two essential things in /etc/lilo.conf:

* to load the initrd.gz installer at boot time;
* have the vmlinuz kernel use a RAM disk as its root partition.

Here is a /etc/lilo.conf example:

image=/boot/newinstall/vmlinuz
label=newinstall
initrd=/boot/newinstall/initrd.gz
root=/dev/ram0
append="devfs=mount,dall ramdisk_size=17000"


For more details, refer to the initrd(4) and lilo.conf(5) man pages. Now run lilo and reboot.

The procedure for GRUB is quite similar. Locate your menu.lst in the /boot/grub/ directory (sometimes in the /boot/boot/grub/), add the following lines:

title New Install
kernel (hd0,0)/boot/newinstall/vmlinuz root=/dev/ram0 devfs=mount,dall ramdisk_size=17000
initrd (hd0,0)/boot/newinstall/initrd.gz


and reboot. Note that the value of the ramdisksize may need to be adjusted for the size of the initrd image. From now on, there should be no difference between GRUB or LILO.
marek 6.12.2004 12:58  1521
fuxoft, jednoduše přes ten loop v nějaké slušné distře:

mount /cesta/rozbaleny_soubor /nejaky_ex_adresar -o loop

popřípadě ještě přidat typ, pokud jde o reisera tak -t reiserfs
fuxoft Fuxoft František Fuka - www.fuxoft.cz 6.12.2004 12:46  1520
Marek: Jak uz jsem psal, netusim jak se "primounti initrd". Je tam nejaky initrd.gz, to rozpakuju a mam desetimegovy initrd, se kterym nevim jak ho zkoumat.
marek 6.12.2004 12:29  1519
Fuxoft, a to initrd jsi už přimountil a prozkoumal? Např. ve slaxovském initrdu, který je obyč. reiser je na rootu přímo skript linux,sh či taknějak, někde jsem četl, že to je výchozí jméno pro skript v initrdu obecně.
fuxoft Fuxoft František Fuka - www.fuxoft.cz 6.12.2004 12:28  1518
themajkl: Uz ze vzdelavacich duvodu bych ten skript rad videl, ale nevim kde ho najdu, nasel jsem tam jnom nejakou binarku "installer".
al3x 6.12.2004 12:15  1517
Jelikoz
cd /home//al3x
udela to same, jako
cd /home/al3x
tak bych se zkusil vykaslat na to, proc ti z ty cesty zmizel jeden adresar a zkusil bych vsechno z /cdrom/dist/sarge presunout (pripadne zkopirovat nebo nalinkovat) do /cdrom/dist/
themajkl themajkl All those moments will be lost in time - like tears in rain. 6.12.2004 12:12  1516
FuxoftEvidentně pořebuješ nastavit nějakou proměnnou, protože se to asi tvoří
/cdrom/dists/$jmeno_distribuce/Release
Ovšem jak se ta promenna jmenuje, to fakt nevim. Pokud to hlasi instalacni skript, koukni se dovnitr, nebo ho nekam vyves, to tam musi byt videt.
fuxoft Fuxoft František Fuka - www.fuxoft.cz 6.12.2004 12:10  1515
themajkl: Nenene, jak jsem psal drive: To CD "neni nalezeno" a na konzoli vyskoci chybova hlaska, ze "nejlze otevrit soubor /cdrom/dists//Release" (presne takto). Pritom ten soubor Release se nachazi v /cdrom/dists/sarge/Release. Takze to "sarge" se zrejme bere odnekud jinud (z nazvu CD)???
tessien Tessien Of course slavery is the worst thing - that ever happened. But maybe... 6.12.2004 12:05  1514
Fuxoft: pripadne jeste bych zkusil to do te cesty, kde to hleda, suse nalinkovat/zkopirovat..
kdokoliv Kdokoliv Nevidím důvod dělat cokoliv bezdůvodně. - http://kkl2401.wz.cz 6.12.2004 11:34  1513
themajkl: Fuxoft mysli jiny vyklad terminu cesta.
themajkl themajkl All those moments will be lost in time - like tears in rain. 6.12.2004 11:22  1512
FuxoftPřidání adresáře do cesty se dělá většinou
export PATH=$PATH:/dalsi_adresar
ale to asi víš, ne? čili kdyby byl problém jen v tom, moc velký problém by to nebyl.
fuxoft Fuxoft František Fuka - www.fuxoft.cz 6.12.2004 10:59  1511
Alex: Nene, ten soubor tam fyzicky je, ale pokud nemam fyzicky zasunuty CDROM, tak instalator z neznameho duvodu ten soubor hleda na spatnem miste (chybi mu v path jeden adresar).

Tessien: To by neslo, protoze hodlam takto pouzit 5 gigove DVD-ROM ISO.

themajkl themajkl All those moments will be lost in time - like tears in rain. 6.12.2004 09:53  1510
SMSTak už jsem něco našel, uvidíme.
themajkl themajkl All those moments will be lost in time - like tears in rain. 6.12.2004 09:42  1509
GSM SMS bránaNezná někdo soft, který umí přes telefon, připojený seriovou linkou k linuxu, posílat SMS? Asi to umí gnokii, ale to si je pro mé účely jako kanón na vrabce, potřebuju jen malé udělátko ve stylu
echo "NAZDAR!" | posli_sms 0420777666444
themajkl themajkl All those moments will be lost in time - like tears in rain. 6.12.2004 08:20  1508
TessienNo, to bylo první, co mne napadlo (druhý byl install přes síť), ale když on Fuxoft většinou ví, proč se ptá :-)

[ 918 ] <Novější  <<<Nejnovější  Nejstarší>>>  Starší>  

(c) 2001-2011 Lopuch.cz   
Kontakt