Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lilo devfs genkernel: amici della prima installazione [Ris]
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
Danilo
l33t
l33t


Joined: 05 Feb 2004
Posts: 747
Location: Italy

PostPosted: Sun Feb 08, 2004 3:18 pm    Post subject: Lilo devfs genkernel: amici della prima installazione [Ris] Reply with quote

Ciao,
sto alla prima installazione da stage 1 (seconda settimana che va avanti...), per compilare il kernel ho dovuto usare un genkernel --menuconfig all per inserire il support n_hldc.

Uso lilo da anni e non mi aveva mai dato problemi. Adesso quando vado a fare lilo -v mi risponde: :evil:
Code:
Reading boot sector from /dev/hda7
Warning: '/proc/partitions' does not match '/dev' directory structure.
    Name change: '/dev/ide/host0/bus0/target0/lun0/disc' -> '/dev/hda'
    The kernel was compiled with DEVFS_FS, but 'devfs=mount' was omitted
        as a kernel command-line boot parameter; hence, the '/dev' directory
        structure does not reflect DEVFS_FS device names.
    Name change: '/dev/ide/host0/bus0/target0/lun0/part1' -> '/dev/hda1'

nel mio /etc/fstab c'e':
Code:
/dev/hda7               /               ext3            noatime                 0 0

mentre nel /etc/lilo.conf:
Code:
image=/boot/kernel-2.4.22-gentoo-r5
   label = gentoo
   read-only # read-only for checking
   root = /dev/ram0
   initrd = /boot/initrd-2.4.22-gentoo-r5
   append="devfs=mount real_root=/dev/hda7 init=linuxrc"

Nonostante tutto non va.
Provando con grub, in /boot/grub/grub.conf:
Code:

   title=Gentoo8O
   root (hd0,6)
   kernel (hd0,6)/boot/kernel-2.4.22-gentoo-r5 root=/dev/ram0 real_root=/deb/hda6       init=linuxrc
   initrd (hd0,6)/boot/initrd-2.4.22-gentoo-r5

In questo caso invece mi da un "Loading Stage2" :evil: in fase di boot.

Qualche info supplementare: per me i boot loader sono solo dei ponti per il sistema poiche' preferisco usare un caricatore di boot loader (GAG), quindi non vorrei toccare l' MBR, ma neanche ho bisogno di settare + sistemi operativi nei file <>.conf

Non e' che il casino deriva dal fatto che
Code:
"root = /dev/ram0"

non vengono gerstiti bene da partizioni logiche?

Sulla rete sembra non ci siano soluzioni: qualcuno ha trovato un work around? Non ho pregiudizi per grub, anche se il lilo non si scorda mai ;-)

Qualche suggerimento?

Ciao,
Danilo Berardi
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Sun Feb 08, 2004 3:24 pm    Post subject: Reply with quote

Come fai a bottare? :o
Non sono un esperto dell'argomento, mi hai incuriosito. :D

Da inesperto che sono la butto li:
non è che magari il problema è
real_root=/deb/hda6
al posto di
real_root=/dev/hda6

con grub
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sun Feb 08, 2004 3:59 pm    Post subject: Re: Lilo, devfs e genkernel: gli amici della prima installaz Reply with quote

Danilo wrote:

Code:
Reading boot sector from /dev/hda7
Warning: '/proc/partitions' does not match '/dev' directory structure.
    Name change: '/dev/ide/host0/bus0/target0/lun0/disc' -> '/dev/hda'
    The kernel was compiled with DEVFS_FS, but 'devfs=mount' was omitted
        as a kernel command-line boot parameter; hence, the '/dev' directory
        structure does not reflect DEVFS_FS device names.
    Name change: '/dev/ide/host0/bus0/target0/lun0/part1' -> '/dev/hda1'



Il problema lo hai con il devfs. Stando a quanto leggo, pur avendo il supporto nel kernel, non parte con il devfs.
Sei sicuro che hai compilato con:
Code:

[*] /dev file system support (OBSOLETE)
  [*]   Automatically mount at boot         

_________________
Ciao da me!
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sun Feb 08, 2004 4:57 pm    Post subject: Reply with quote

Cambia il real_root tra lilo e grub. In un caso è hda7 in un altro è hda6.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
Danilo
l33t
l33t


Joined: 05 Feb 2004
Posts: 747
Location: Italy

PostPosted: Sun Feb 08, 2004 7:14 pm    Post subject: Reply with quote

Aveva ragione Benve ... una mia svista
Quote:

Code:
real_root=/deb/hda6

al posto di
Code:
 real_root=/dev/hda6



Non ho potuto postare prima perche' per qualche motivo gentoo.org/... non pingava.

Grazie a tutti :D :D :D ,
Danilo
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sun Feb 08, 2004 8:20 pm    Post subject: Reply with quote

Danilo wrote:

Grazie a tutti :D :D :D ,
Danilo


Ehi... non scappare metti il tag [risolto] al titolo :-P
_________________
Ciao da me!
Back to top
View user's profile Send private message
Danilo
l33t
l33t


Joined: 05 Feb 2004
Posts: 747
Location: Italy

PostPosted: Sun Feb 08, 2004 9:43 pm    Post subject: Reply with quote

randomaze wrote:

Ehi... non scappare metti il tag [risolto] al titolo :-P


Si, infatti :roll:, ma come si fa? si ricopia il titolo con [risolto] o cosa?
Nella pagina non ho trovato nulla...

Ciao,
Danilo :D
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sun Feb 08, 2004 9:49 pm    Post subject: Reply with quote

vai sul primo post che hai fatto, editalo e cambia l'oggetto aggiungendo [RISOLTO]

Ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Sun Feb 08, 2004 10:13 pm    Post subject: Reply with quote

Danilo wrote:
Si, infatti :roll:, ma come si fa? si ricopia il titolo con [risolto] o cosa?
Nella pagina non ho trovato nulla...


Come ti hanno già detto basta editare il messaggio con il quale hai aperto il topic, c'è il tasto "edit" (o rispettiva localizzazione se usi l'interfaccia in ita) apposito in alto a destra in ogni tuo messaggio.

Nel tuo caso avevo già aggiunto io un [Ris]. La tag intera non ci stava perchè il campo per il titolo ha un numero di caratteri massimo limitato, quindi basta metterne una parte in questi casi.
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
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