Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[boot] lilo, partitions, ça boote pas (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Megac
n00b
n00b


Joined: 10 Mar 2004
Posts: 11

PostPosted: Thu Apr 08, 2004 12:46 am    Post subject: [boot] lilo, partitions, ça boote pas (résolu) Reply with quote

bonjour
j'ai passé des heures à essayer de faire booter gentoo sur un de mes PC sans succès ...

quelques soient les options du bootmanager, lilo ou meme grub, j'ai toujours le meme message d'erreur au boot :

Code:

STEP 4a: Mounting root
mount : Mounting /dev/hda3 on /newroot failed: Invalid argument
Could not mount specified ROOT, try again
Root block device unspecified or not detected.


Aidez moi avant que ça ne me rende fou !


Last edited by Megac on Mon Apr 12, 2004 2:58 pm; edited 2 times in total
Back to top
View user's profile Send private message
yuk159
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1802
Location: noumea ,nouvelle-caledonie

PostPosted: Thu Apr 08, 2004 5:09 am    Post subject: Reply with quote

Je pense que pour que quelqu'un puisse t'aider il faudrais que l'on puisse verifier les fichiers suivants : /etc/lilo.conf /etc/fstab /boot/grub/grub.conf
Et qu'on sache aussi comment tu as partitionne ton disque.
_________________
The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram
Back to top
View user's profile Send private message
Leander256
l33t
l33t


Joined: 05 Jul 2003
Posts: 910
Location: Singapour

PostPosted: Thu Apr 08, 2004 7:07 pm    Post subject: Reply with quote

A vue de nez tu as n'as pas modifié le fichier /etc/fstab, notamment la ligne commençant par:
Code:
/dev/ROOT ...

Tu dois remplacer ROOT par hdaX (avec X le numéro de la partition racine "/" ). Je pense que tu devrais relire le guide d'installation (tu as dû sauter deux ou trois lignes), il expliquera mieux que moi.

Sinon peux-tu s'il-te-plaît formater ton message comme indiqué dans ce thread?
Back to top
View user's profile Send private message
Megac
n00b
n00b


Joined: 10 Mar 2004
Posts: 11

PostPosted: Thu Apr 08, 2004 10:35 pm    Post subject: Reply with quote

désolé pour le titre du topic, j'ai changé ça.

bon je vous donne ma conf:

Code:

cdimage root # cat /etc/lilo.conf
boot=/dev/hda             # LILO installé dans le MBR
prompt                    # Permet à l'utilisateur de sélectionner une autre entrée
timeout=50                # Délai de 5 (cinq) secondes avant de démarrer l'entrée par défaut
default=gentoo            # Définit l'entrée par défaut
# uniquement si vous utilisez le framebuffer. Supprimez la ligne suivant dans le cas contraire.
vga=788                   # Mode graphique du framebuffer


 append="devfs=mount"

# Sans genkernel
image=/boot/kernel-2.4.25
  label=gentoo            # Nom que nous avons attribué à cette entrée
  read-only               # Démarre avec root en lecture seulement. Ne pas modifier !
  root=/dev/hda3          # Endroit où se trouve le système de fichier root
append="devfs=mount"


# Avec genkernel
image=/boot/kernel-2.4.25
  label=gentoogk
  read-only
  root=/dev/ram0
  append="init=/linuxrc real_root=/dev/hda3"
  initrd=/boot/initrd-2.4.25

cdimage root # lilo
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.
Added gentoo *
Added gentoogk
cdimage root # cat /etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                  <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1               /boot           ext2            noauto,noatime          1 1
/dev/hda3               /               xfs             noatime                 0 0
/dev/hda2               none            swap            sw                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0
#/dev/fd0               /mnt/floppy     auto            noauto                  0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults                0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults                0 0

cdimage root # fdisk /dev/hda

The number of cylinders for this disk is set to 16708.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 8622 MB, 8622931968 bytes
16 heads, 63 sectors/track, 16708 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          63       31720+  83  Linux
/dev/hda2              64        1056      500472   82  Linux swap
/dev/hda3            1057       16708     7888608   83  Linux

Command (m for help):



voilà :-(
je ne vois pas du tout de "ROOT" ou de /newroot qqu part
Back to top
View user's profile Send private message
DaiKo
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 161
Location: Mendes (France)

PostPosted: Fri Apr 09, 2004 6:58 am    Post subject: Reply with quote

Salut :)

:?: As tu penser a lancer ./bin/lilo apres avoir fait ton fichier de config ?

:idea: Sinon ton fichier lilo.conf me semble suspect... Ton noyau, tu l'a configuré avec genkernel ou a la main ? à moin que tu n'ai deux noyaux differents l'un des deux paragraphes devrait disparaitre...

++

DaiKo
Back to top
View user's profile Send private message
Megac
n00b
n00b


Joined: 10 Mar 2004
Posts: 11

PostPosted: Fri Apr 09, 2004 10:44 am    Post subject: Reply with quote

j'ai bien sur lançé lilo, cf mon message au dessus.

j'ai installé le noyau avec genkernel
Back to top
View user's profile Send private message
Pongten
Guru
Guru


Joined: 07 Apr 2004
Posts: 340
Location: Belgique (devant mon écran)

PostPosted: Fri Apr 09, 2004 10:57 am    Post subject: Reply with quote

Si tu l'as configuré avec genkernel, ton boot par défaut devrait être sur gentoogk plutôt que sur gentoo non ?
_________________
Si ton problème a une solution, rien ne sert de t'inquiéter...
Si il n'en a pas, t'inquiéter ne sert à rien
Back to top
View user's profile Send private message
Kah
n00b
n00b


Joined: 06 Jan 2003
Posts: 30
Location: Paris

PostPosted: Fri Apr 09, 2004 11:59 am    Post subject: Reply with quote

dans ta config du noyau, t'es-tu assuré que le controlleur ide et autre ne sont pas en modules...
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Fri Apr 09, 2004 12:59 pm    Post subject: Reply with quote

Megac wrote:
cdimage root # cat /etc/fstab
# /etc/fstab: static file system information.
[...]
/dev/hda3 / xfs noatime 0 0

Que donne la commande :
cat /usr/src/linux/.config | grep XFS
?
Back to top
View user's profile Send private message
Megac
n00b
n00b


Joined: 10 Mar 2004
Posts: 11

PostPosted: Mon Apr 12, 2004 2:57 pm    Post subject: Reply with quote

merci c'était
/dev/hda3 / ext3 noatime 0 0
à la place de
/dev/hda3 / xfs noatime 0 0
:-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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