View previous topic :: View next topic |
Author |
Message |
AndreaR n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1365882876403bce58bd707.jpg)
Joined: 18 Feb 2004 Posts: 44
|
Posted: Tue Aug 31, 2004 9:20 am Post subject: kernel da floppy non butta? [Risolto] + mini how-to |
|
|
Ho questo problema, devo far buttare per forza il kernel della mia macchia da floppy e sto cercando di farlo in questo modo............
#######################################
fdformat /dev/fd0h1440 # formats the floppy disk
dd if=/boot/vmlinuz of=/dev/fd0 # writes the kernel to the floppy disk
rdev /dev/fd0 /dev/hda2 # Instead of /dev/sdb1, specify your root partition
rdev -R /dev/fd0 1 # mount root file system read-only
########################################
ovviamente ho cambiato io sdb1 con hda2 per riprodurre la mia situazione!
da qui http://portal.suse.com/sdb/en/1998/04/kgw_bootdisketten.html ho preso i passaggi, ora il problema è semplice il kernel non vuol saperne di buttare perchè? dov'è l'errore? ![Sad :(](images/smiles/icon_sad.gif)
Last edited by AndreaR on Tue Aug 31, 2004 7:36 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Tue Aug 31, 2004 9:29 am Post subject: |
|
|
Se si tratta di un kernel 2.6 l'errore é nella versione del kernel.
Con i kernel recenti non si può più fare il boot in questo modo. _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AndreaR n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1365882876403bce58bd707.jpg)
Joined: 18 Feb 2004 Posts: 44
|
Posted: Tue Aug 31, 2004 9:37 am Post subject: |
|
|
si, si tratta esattamente del kernel mm-sources 2.6.9-rc1-mm1 che contiene un driver per me indispensabile, eppure questo mi sembrava in assoluto il modo più semplice e veloce, chissà perchè è stato tolto, cmq grazie nelle guide che ho trovato effettivamente non c'era nessun riferimento al kernel 2.6.x cmq a questo punto faccio una domanda....tra i vari boot loader qual'è quello che mi permette di buttare il kernel e utilizzare il minor spazio possibile sul floppy? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Tue Aug 31, 2004 10:06 am Post subject: |
|
|
AndreaR wrote: | tra i vari boot loader qual'è quello che mi permette di buttare il kernel e utilizzare il minor spazio possibile sul floppy? |
Mi viene in mente SYSLinux, ma non so se va bene _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
paolo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/3152398534026854723eba.jpg)
Joined: 23 Jul 2002 Posts: 768 Location: SBT (AP)
|
Posted: Tue Aug 31, 2004 10:11 am Post subject: |
|
|
In primis sbagli quando compili l'oggetto del topic.
P. _________________ Nihil sine magno labore |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MyZelF Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/2429700803fcf63f11a207.png)
Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Tue Aug 31, 2004 10:17 am Post subject: |
|
|
[mod]
Confermo. Per favore cambia l'oggetto del post con qualcosa di più comprensibile e attinente.
[/mod] _________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AndreaR n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1365882876403bce58bd707.jpg)
Joined: 18 Feb 2004 Posts: 44
|
Posted: Tue Aug 31, 2004 7:34 pm Post subject: |
|
|
randomaze wrote: | AndreaR wrote: | tra i vari boot loader qual'è quello che mi permette di buttare il kernel e utilizzare il minor spazio possibile sul floppy? |
Mi viene in mente SYSLinux, ma non so se va bene |
Grazie, ho usato proprio quello semplicissimo da usare ma soprattutto legerissimo......
# Formattazione del floppy a 1722 il kernel 2.6 può anche superare questa dimensione quindi consiglio di usare kernel che consentono di essere compilati con OPTIMIZE_FOR_SIZE "-Os"
Code: |
fdformat /dev/fd0u1722
|
# Creazione del filesystem
#installare syslinux
# Rendere bootabile il floppy
Code: |
syslinux -s /dev/fd0
|
# Montare il floppy
Code: |
mount -t vfat /dev/fd0 /mnt/floppy
|
# Copiare il kernel
Code: |
cp /<vostro kernel> /mnt/floppy
|
# Copiare initrd se necessario
Code: |
cp /<vostro initrd> /mnt/floppy
|
# Creare il file di configurazione "syslinux.cfg". Cambiate la root hda2 con la vostra partizione di root
Code: |
cat > /mnt/floppy/syslinux.cfg
default gentoo-linux
prompt 1
timeout 10
label gentoo-linux
kernel vmlinuz
append root=/dev/hda2 initrd=initrd.img
|
# Unmount
Buon Boot!!! ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|