Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel da floppy non butta? [Risolto] + mini how-to
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
AndreaR
n00b
n00b


Joined: 18 Feb 2004
Posts: 44

PostPosted: Tue Aug 31, 2004 9:20 am    Post subject: kernel da floppy non butta? [Risolto] + mini how-to Reply with quote

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? :(


Last edited by AndreaR on Tue Aug 31, 2004 7:36 pm; edited 2 times in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Aug 31, 2004 9:29 am    Post subject: Reply with quote

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
View user's profile Send private message
AndreaR
n00b
n00b


Joined: 18 Feb 2004
Posts: 44

PostPosted: Tue Aug 31, 2004 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Aug 31, 2004 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
paolo
l33t
l33t


Joined: 23 Jul 2002
Posts: 768
Location: SBT (AP)

PostPosted: Tue Aug 31, 2004 10:11 am    Post subject: Reply with quote

Quote:
dove sbaglio?


In primis sbagli quando compili l'oggetto del topic.

P.
_________________
Nihil sine magno labore
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Aug 31, 2004 10:17 am    Post subject: Reply with quote

[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
View user's profile Send private message
AndreaR
n00b
n00b


Joined: 18 Feb 2004
Posts: 44

PostPosted: Tue Aug 31, 2004 7:34 pm    Post subject: Reply with quote

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
Code:

mkfs.vfat /dev/fd0



#installare syslinux
Code:

emerge -v  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
Code:

umount /mnt/floppy


Buon Boot!!! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum