[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Vs Gentoo



je suis abonné merci.

Rolland wrote:

Slut
j´ai essayé la methode de Justice pour pouvoir faire coahbiter gentoo et
deban mais ca ne maeche pas(quand je monte les fichiers de gentoo tout est
corect je chroot meme dans l´environnement gentoo et tout fonctionne
normalement mais au monent du botage je choisis gentoo mais ca ne demare
pas) ..
j´ai meme changé  mon fichier /etc/fstab étant donné que mon disque boot
pour genntoo est sur une autre partition voila à quoi resemble mon fdick
/dev/hdb

Device Boot    Start       End    Blocks   Id  System
/dev/hdb1 *        1        14    105808+  83  Linux        //Patition de
bootage
/dev/hdb2         15        81    506520   82  Linux swap   //swap
/dev/hdb3         82      3876  28690200   83  Linux        // Linux Racine

et voila à quoi resemble mon /etc/fstab

la partition de boot (hdb1) aurait été plus judicieusment placé en hda1, m'enfin.

# /etc/fstab: static file system information.
## <file system> <mount point> <type> <options>  <dump> <pass>

/dev/hda1 /  ext2 errors=remount-ro               0       1
/dev/hda2 none  swap sw                           0       0
proc  /proc  proc defaults                        0       0
/dev/fd0 /floppy  auto user,noauto                0       0
/dev/hdc /cdrom  iso9660 ro,user,noauto           0       0
sysfs           /sys            sysfs   rw        0       0


# Gentoo configurations

/dev/hdb3       /gentoo         ext3     users,owner,noatime,rw   0       2

já i meme essa celui ci apres rien

/dev/hdb3       /gentoo         ext3     users, rw,owner,noatime  0       2
/dev/hdb1       /gentoo/boot    ext2    owner,noatime,rw        0       2
proc            /gentoo/proc    proc    defaults                0       0


normal que cela ne marche pas (les messages d'erreurs sont plus explicite qu'un "ca marche pas !').
la fstab de gentoo doit ressembler à :

# Gentoo configurations

/dev/hdb3       /         ext3     users,owner,noatime,rw   0       2
/dev/hda2 none  swap sw                           0       0
já i meme essa celui ci apres rien

proc            /proc    proc    defaults                0       0
/dev/fd0 /floppy  auto user,noauto                0       0
/dev/hdc /cdrom  iso9660 ro,user,noauto           0       0

sysfs           /sys            sysfs   rw        0       0  # uniquement pour noyau 2.6.x


voila mon fichier /etc/lilo.conf apres configuration

#
lba32

# Overrides the default mapping between harddisk names and the BIOS'
# harddisk order. Use with caution.
#disk=/dev/hde
#    bios=0x81

#disk=/dev/sda
#    bios=0x80

boot=/dev/hda
ta partition de boot n'ets pas hdb1 ? donc boot = /dev/hdb

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda1
ne pas le mettre ici ! mais dans chacune des image

#
# compact

# Installs the specified file as the new boot sector
# You have the choice between: bmp, compat, menu and text
# Look in /boot/ and in lilo.conf(5) manpage for details
#
install=/boot/boot-bmp.b
bitmap=/usr/share/lilo/contrib/sid.bmp
bmp-colors=1,,0,2,,0
bmp-table=120p,173p,1,15,17
bmp-timer=254p,432p,1,0,0

# Specifies the location of the map file
#
map=/boot/map

# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20

# You can put a customized boot message up if you like.  If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress.  `single-key' goes with the `alias' lines in the
# `image' configurations below.  eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
prompt
# single-key
# delay=100
timeout=100

# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
#
# vga=ask
# vga=9
#
vga=normal

# Boot up Linux by default.
#
default=Linux

image=/vmlinuz
label=Linux
read-only
ici root=/dev/hda1

# restricted
# alias=1

image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2

#
#  gentoo
image=/gentoo/boot/kernel-2.4.25-gentoo
  label=Gentoo
        read-only
        root=/dev/hdb3
l'autre root préciser au départ doit interferer avec celle ci
Comment par faire la modif de ton lilo.conf et relance lilo

# restricted
# alias=3

Quand je  fait # lilo
tout est okay
Linux*
LinuxOld
Gentoo
....

Mais quand je coisis Gentoo ...le boot image n´est pas reconnu
Peace




J8.



Reply to: