|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Oct 2003
Città: La Spezia
Messaggi: 962
|
creare initrd con mkinitrd su slackware...
ciao ragazzi,
ho un prob nel creare un immagine initrd... sotto slackware. do un: mkinitrd -o /boot/initrd.img `uname -r` e mi restituisce varie cose: /usr/src/# mkinitrd -o /boot/initrd.img `uname -r` Usage: mktemp [-q] [-u] template Usage: mktemp [-q] [-u] template Usage: mount -V : print version mount -h : print this help mount : list mounted filesystems mount -l : idem, including volume labels So far the informational part. Next the mounting. The command is `mount [-t fstype] something somewhere'. Details found in /etc/fstab may be omitted. mount -a [-t|-O] ... : mount all stuff from /etc/fstab mount device : mount device at the known place mount directory : mount known device here mount -t type dev dir : ordinary mount command Note that one does not really mount a device, one mounts a filesystem (of the given type) found on the device. One can also mount an already visible directory tree elsewhere: mount --bind olddir newdir or move a subtree: mount --move olddir newdir A device can be given by name, say /dev/hda1 or /dev/cdrom, or by label, using -L label or by uuid, using -U uuid . Other options: [-nfFrsvw] [-o options]. For many more details, say man 8 mount . cp: copying multiple files, but last argument `rootfs' is not a directory Try `cp --help' for more information. Usage: umount [-hV] umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts] umount [-f] [-r] [-n] [-v] special | node... rmdir: too few arguments Try `rmdir --help' for more information. gzip: compressed data not written to a terminal. Use -f to force compression. For help, type: gzip -h mv: cannot stat `.gz': No such file or directory che cosa vuole dire? cmq ho provato a dare il -f e il processo parte, ma l'ho stoppato perche dopo due ore era sempre li che frullava. come devo fare? sbaglio qualcosa? tnx all
__________________
![]() ![]() Gigabyte ga-p55-ud6 | Intel i7 860 | 2x2gb Corsair xms3 | Adaptec 2410sa | raid1 barracuda 500gb 7200.12 | Intel x25-m 80gb G2 | ATI radeon 4890 | tutto in downclock (non ho parenti all'enel) |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Iscritto dal: Mar 2002
Città: Caltanissetta
Messaggi: 967
|
Ciao! Riporto la sintassi dalla Slackware for dummies, presente su http://www.slacky.it/tutorial/slackw...or_dummies.txt
Quote:
![]() Edit: ovviamente quel 2.6.7 va cambiato a seconda della versione del kernel, e mi sembra anche che sia necessario avere i sorgenti... io cmq questa operazione l'ho fatta per avviare il 2.6.10 come secondo kernel (aggiungendo anche le righe in lilo.conf). ![]() Ultima modifica di NetEagle83 : 07-07-2005 alle 13:02. |
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Oct 2003
Città: La Spezia
Messaggi: 962
|
ho provato anche con i -c -k e niente mi riporta l'errore sopra.
in ogni caso se il comando funzionasse quanto ci metterebbe a creare l'immagine? bha, ma non mi arrendo, anche perche mi serve per forza, altrimenti non installo la slack su un controller promise fastrack tx2200 byez
__________________
![]() ![]() Gigabyte ga-p55-ud6 | Intel i7 860 | 2x2gb Corsair xms3 | Adaptec 2410sa | raid1 barracuda 500gb 7200.12 | Intel x25-m 80gb G2 | ATI radeon 4890 | tutto in downclock (non ho parenti all'enel) |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 13:55.