Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/12/2007, à 22:31

do66

[resolu] error 17

Bonjour,
je souhaite essayer de me mettre sous linux. J'ai téléchargé Kubuntu 7.10, puis je l'ai installé sur mon pc. après l'installation, au démarrage, j'ai eu "error 17 can't mount..."
J'ai parcouru le forum, j'ai trouvé des personnes qui ont eu un problème similaires, j'ai essayé de faire comme eux, mais toujours le même problème.
Je peux toujour booter sous windows. Par contre j'ai booté encore sur live CD.
avec le live cd j'ai tapé :

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdcef380e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       26109   209715200    7  HPFS/NTFS
/dev/sda2           26109       52217   209715200    b  W95 FAT32
/dev/sda3           60678       60801      996030   82  Linux swap / Solaris
/dev/sda4           52218       60677    67954950   83  Linux

Partition table entries are not in disk order
ubuntu@ubuntu:~$

je n'arrive pas éditer le grub.

ubuntu@ubuntu:/boot$ ls
abi-2.6.22-14-generic             memtest86+.bin
config-2.6.22-14-generic          System.map-2.6.22-14-generic
initrd.img-2.6.22-14-generic.bak  vmlinuz-2.6.22-14-generic

Merci à  toutes les bonnes à¢mes qui peuvent m'aider pour soit supprimer grub (et tanpis pour linux) soit réparer.
ps: je n'arrive plus à  retrouver les sujets avec comme mots clés "error 17"
ps2: en éditant la commande dans grub j'ai root (hd0,0)
ps3: ma config : athlon64 3000 1Go de ram, 500 Go de DD, carte graphique gforce 64Mo agp8x

Dernière modification par do66 (Le 30/12/2007, à 12:19)

Hors ligne

#2 Le 29/12/2007, à 10:32

do66

Re : [resolu] error 17

Bonjour,
j'ai recommencé l'installation, mais toujours la même erreur. Dans un permier temps, je n'arrive pas à  editer le grub depuis le live cd. Cela pourrait être un bon point de départ?
Merci encore.

Hors ligne

#3 Le 29/12/2007, à 11:27

malbo

Re : [resolu] error 17

do66 a écrit :

Je peux toujour booter sous windows.

Utilise-tu le CD de windows ou alors comment fais-tu pour arriver à  booter sous windows ( quel windows XP ou Vista) ? Le fait que tu arrives à  booter sur windows me parait anormal ou du moins non habituel : très souvent, quand ça merde avec GRUB, rien ne boote, ni Ubuntu, ni windows. Donne des détails (si tu le peux) sur le guide que tu as suivi pour faire ton installation : as-tu voulu faire une installation de GRUB pour PC tatoué ou bien as-tu installé GRUB sur le MBR du disque dur ?

Hors ligne

#4 Le 29/12/2007, à 11:56

°(ø↓ø)°

Re : [resolu] error 17

lorsque tu tapes ls /oot tu listes le répertoire du live lol


tu dois taper

sudo umount -a
sudo mount -o rw /dev/sda4 /mnt


tu peux poster ces retours

cat /mnt/boot/grub/menu.lst
cat /mnt/etc/fstab
ls -l /dev/disk/by-uuid
ls /mnt/boot

#5 Le 30/12/2007, à 10:02

do66

Re : [resolu] error 17

Bonjour,
pour répondre à  Malbo :

Utilise-tu le CD de windows ou alors comment fais-tu pour arriver à  booter sous windows ( quel windows XP ou Vista) ?

Lors des choix sous grub, ça fonctionne normalement pour windows (vista), l'erreur est juste pour kubuntu

Le fait que tu arrives à  booter sur windows me parait anormal ou du moins non habituel : très souvent, quand ça merde avec GRUB, rien ne boote, ni Ubuntu, ni windows. Donne des détails (si tu le peux) sur le guide que tu as suivi pour faire ton installation : as-tu voulu faire une installation de GRUB pour PC tatoué ou bien as-tu installé GRUB sur le MBR du disque dur ?

pour l'instal, j'ai installé windose en partitionant 200 Go (sur le dd en sata). Ensuite, j'ai booté sur le live cd et j'ai fait l'instal de kubuntu. Pour le partitionnement (fait en mode manuel), j'ai fait une partition de 1Go pour le swap, et une partition de 69 Go en ext3, avec / en point de montage.
Je ne pense pas que le PC soit tatoué (je l'ai assemblé moi même).

Pour Répondre à  °(0|0)° il faut que je reboote sur le live cd (là  je suis sous windows).
Merci

Dernière modification par do66 (Le 30/12/2007, à 10:04)

Hors ligne

#6 Le 30/12/2007, à 11:28

Compte anonymisé

Re : [resolu] error 17

Salut

Il faudrait démarrer en LiveCd.
Ensuite tu démontes les partitions :
sudo umount -a pas d'inquiétudes avec les messages d'erreur.
là  tu tapes :
sudo mount /dev/sda4  /mnt
là  tu listes le fichier :
menu.lst --> sudo gedit /mnt/boot/grub/menu.lst
fstab       --> sudo gedit  /mnt/etc/fstab
et enfin tu listes les UUID pour vérif des données sur fstab et menu.lst :
sudo  ls -l  /dev/disk/by-uuid/

@+

#7 Le 30/12/2007, à 11:33

do66

Re : [resolu] error 17

Je suis sur le live cd :
voilà  ce que j'ai :
(ça a un peu changé car j'ai recommencé l'instal au cas oà¹...)

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdcef380e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       26109   209715200    7  HPFS/NTFS
/dev/sda2           26109       52217   209715200    7  HPFS/NTFS
/dev/sda3           52413       60801    67384642+  83  Linux
/dev/sda4           52218       52412     1566337+  82  Linux swap / Solaris

Partition table entries are not in disk order
ubuntu@ubuntu:~$ sudo umount -a
umount: /tmp: device is busy
umount: /dev: device is busy
umount: /var/run: device is busy
umount: tmpfs: not found
umount: /lib/modules/2.6.22-14-generic/volatile: not mounted
ubuntu@ubuntu:~$ sudo mount -o rw /dev/sda3 /mnt
ubuntu@ubuntu:~$ cat /mnt/boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default         0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout         10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title         Windows 95/98/NT/2000
# root          (hd0,0)
# makeactive
# chainloader   +1
#
# title         Linux
# root          (hd0,1)
# kernel        /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=1cf2ad45-7784-4749-8690-255c9b6c826c ro
# kopt_2_6=root=/dev/hda1 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title           Ubuntu 7.10, kernel 2.6.22-14-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash locale=fr_FR
initrd          /boot/initrd.img-2.6.22-14-generic
quiet

title           Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro single
initrd          /boot/initrd.img-2.6.22-14-generic

title           Ubuntu 7.10, memtest86+
root            (hd0,0)
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 a non-linux OS
# on /dev/sda1
title           Windows Vista/Longhorn (loader)
root            (hd0,0)
savedefault
makeactive
chainloader     +1

ensuite

ubuntu@ubuntu:~$ cat /mnt/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda3
UUID=1cf2ad45-7784-4749-8690-255c9b6c826c /               ext3    defaults,errors=remount-ro 0       1
# /dev/sda1
UUID=688445F28445C374 /media/sda1     ntfs    defaults,umask=007,gid=46 0       1
# /dev/sda4
UUID=4afc0827-cf32-4d46-825b-5407757320c0 none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
ubuntu@ubuntu:~$

puis

 ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2007-12-30 11:18 04B02F82B02F7976 -> ../../sda2
lrwxrwxrwx 1 root root 10 2007-12-30 11:18 1cf2ad45-7784-4749-8690-255c9b6c826c -> ../../sda3
lrwxrwxrwx 1 root root 10 2007-12-30 11:18 4afc0827-cf32-4d46-825b-5407757320c0 -> ../../sda4
lrwxrwxrwx 1 root root 10 2007-12-30 11:18 688445F28445C374 -> ../../sda1
ubuntu@ubuntu:~$

et enfin

ubuntu@ubuntu:~$ ls /mnt/boot
abi-2.6.22-14-generic         initrd.img-2.6.22-14-generic.bak
config-2.6.22-14-generic      memtest86+.bin
grub                          System.map-2.6.22-14-generic
initrd.img-2.6.22-14-generic  vmlinuz-2.6.22-14-generic
ubuntu@ubuntu:~$

Merci encore une fois

Hors ligne

#8 Le 30/12/2007, à 11:38

Compte anonymisé

Re : [resolu] error 17

Bon

Tu edites menu.lst et tu modifies :
# groot=(hd0,0) par
# groot=(hd0,2)

puis dans ce paragraphe :

title           Ubuntu 7.10, kernel 2.6.22-14-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash locale=fr_FR
initrd          /boot/initrd.img-2.6.22-14-generic
quiet

root (hd0,0)  devient
root (hd0,2)

il faut aussi modifier :
# kopt_2_6=root=/dev/hda1 ro  par
# kopt_2_6=root=/dev/sda3 ro


et dans le même paragraphe que ci-dessus tu modifies :
kernel          /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash locale=fr_FR
par
kernel          /boot/vmlinuz-2.6.22-14-generic root=/dev/sda3 ro quiet splash locale=fr_FR


tu sauves le tout, tu redémarres (ça doit fonctionner)

et là  tu tapes :
sudo update-grub

@+

PS tu le sors d'o๠ton menu.lst ???  ça ressemble à  du fait-maison.

Dernière modification par Compte anonymisé (Le 30/12/2007, à 11:43)

#9 Le 30/12/2007, à 12:18

do66

Re : [resolu] error 17

Youpii  big_smile
Un grand merci,
ça fonctionne.
D'où je sors le menu.lst? Ben je ne sais pas. Fait-maison? Je ne crois pas (à moins qu'à mon insu ... wink  )
Bonne fête de fin d'année.

Hors ligne