PDA

View Full Version : Errore strano (da principiante?) su creazione dischetto di avvio con Mandrake


utrecht
08-03-2004, 08:00
Vi premetto che sono neofita del mondo linux quindi non fatemi troppi cazziatoni nel caso dovessi scrivere qualche nefandezza......

Sto cercando di creare un dischetto di avvio dopo aver installato con successo una mandrake 9.2
Utilizzo il 'Centro di Controllo Mandrake' ma durante la procedura compare il seguente messaggio:
---
Impossibile chiudere correttamente mkbootdisk:

Formatting /dev/fd0... mount: /dev/fd0 già montato o /tmp/syslinux.mnt.3999.0 occupato
done.
Copying /boot/vmlinuz-2.4.22-10mdk... done.
Creating initrd image... cp: scrittura di
'/tmp/mbootdisk/initrd.img': No space left on device
Error!
---
Vado a controllare il dischetto ed è apparentemente vuoto.
Sotto windows però vedo che in quello stesso dischetto ci sono 2 files:
initrd.img 111KB
vmlinuz 1.313 KB

Come si spiega tutto ciò?
Potrebbe essere legato al tipo di filesystem (ext2 e FAT32) ma non riesco a focalizzare la spiegazione.
Grazie

trappola
08-03-2004, 08:45
La soluzione è sul sito di Mandrake alla voce errata, ti riporto la risposta :

Error scenario: When creating a boot floppy from drakfloppy, it fails with an error message from mkbootdisk indicating that there is not enough disk space on the floppy.
Why: The kernel is too big so it cannot fit with the initrd and the boot loader on a 1.44MB floppy disk.
Solution: Use either fdformat or superformat on the command line (you may need to install the fdutils package for the latter) to format your floppy to a bigger format such as 1.7MB. Alternately, you may elect to install LILO onto the MBR of a floppy. As root, execute "lilo -v -b /dev/fd0" with your floppy disk in the drive. No files will show on the system, however booting off the floppy will boot your system.
Alternate Solution: Create a self-booting rescue CD-ROM. As root, execute "/sbin/mkrescue --iso" which will create the file 'rescue.iso' in the current directory. Find the device designation of your CD writer by executing "cdrecord --scanbus" and noting the the device number for your writer (ie. 0,0,0), which you then need to use in the command to burn the CD: "cdrecord dev=X,X,X rescue.iso". Once the CD is burnt, you can boot from it to boot your system. When the burn is complete, remove the 'rescue.iso' file

In pratica il problema è che il trio kernel, initrd e bootloader sono troppo grandi per stare su un floppy
o formatti il floppy con fdformat per ottenere un floppy che tiene 1.7 mb
o ti fai un cd avviabile

Ps do per scontato che tu riesca a leggere la soluzione in inglese, altrimenti te la traduco

utrecht
08-03-2004, 08:48
Ho capito il problema.
Grazie mille! :)