grub

thierry.menan thierry.menan at laposte.net
Mer 3 Déc 08:11:23 UTC 2008


Michel Leunena écrit :

> Ben non, tu ne peux pas installé le bootloader sur une partition de swap.
J'ai essayé sur les deux autres sans succès.

> Tu dois modifier le fichier /boot/grub/menu.lst pour qu'il reflète le 
> nouvel état de tes partitions.
Merci avec cette indication j'ai trouvé la page suivante :
http://www.trustonme.net/didactels/136.html

j'ai modifié tous les "root (hdo,6)" en "root (hdo,1)" : 

## ## End Default Options ##

title		Ubuntu 8.10, kernel 2.6.27-7-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=37d87a62-96d8-43e8-9c2e-5b5e09cefff6 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-7-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=37d87a62-96d8-43e8-9c2e-5b5e09cefff6 ro  single
initrd		/boot/initrd.img-2.6.27-7-generic

title		Ubuntu 8.10, kernel 2.6.24-21-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.24-21-generic root=UUID=37d87a62-96d8-43e8-9c2e-5b5e09cefff6 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-21-generic
quiet

title		Ubuntu 8.10, kernel 2.6.24-21-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.24-21-generic root=UUID=37d87a62-96d8-43e8-9c2e-5b5e09cefff6 ro  single
initrd		/boot/initrd.img-2.6.24-21-generic

title		Ubuntu 8.10, memtest86+
root		(hd0,1)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=d8371794-03b9-4bb3-b47b-f0c55462ab00 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-19-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=d8371794-03b9-4bb3-b47b-f0c55462ab00 ro single 
initrd		/boot/initrd.img-2.6.24-19-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, kernel 2.6.24-18-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-18-generic root=UUID=d8371794-03b9-4bb3-b47b-f0c55462ab00 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-18-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, kernel 2.6.24-18-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-18-generic root=UUID=d8371794-03b9-4bb3-b47b-f0c55462ab00 ro single 
initrd		/boot/initrd.img-2.6.24-18-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, kernel 2.6.24-17-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-17-generic root=UUID=d8371794-03b9-4bb3-b47b-f0c55462ab00 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-17-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, kernel 2.6.24-17-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-17-generic root=UUID=d8371794-03b9-4bb3-b47b-f0c55462ab00 ro single 
initrd		/boot/initrd.img-2.6.24-17-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, kernel 2.6.24-16-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=d8371794-03b9-4bb3-b47b-f0c55462ab00 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=d8371794-03b9-4bb3-b47b-f0c55462ab00 ro single 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.1, memtest86+ (on /dev/sda1)
root		(hd0,0)
kernel		/boot/memtest86+.bin  
savedefault
boot

Auparavant j'ai sauvegardé mon fichier sur une clé usb.
Mais je ne peux écrire sur mon dd pour le modifier.

Je viens de lire (seulement ) les phrases affichés lorsque j'utilise gparted : 
ubuntu at ubuntu:~$ sudo gparted
======================
libparted : 1.7.1
======================
Incapable d'ouvrir /dev/scd0 en lecture-écriture (Système de fichiers accessible en lecture seulement). /dev/scd0 a été ouvert en lecture seulement.
Incapable d'ouvrir /dev/scd0 en lecture-écriture (Système de fichiers accessible en lecture seulement). /dev/scd0 a été ouvert en lecture seulement.
Incapable d'ouvrir /dev/scd0 - étiquette de disque non reconnue.
ubuntu at ubuntu:~$ 


Peut-être ces phrases permettent-elle de comprendre ?

En espérant être clair,

Thierry

 Créez votre adresse électronique prenom.nom at laposte.net 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <https://lists.ubuntu.com/archives/ubuntu-fr/attachments/20081203/810c8c82/attachment.html>


Plus d'informations sur la liste de diffusion ubuntu-fr