#1 Le 03/08/2007, à 10:38
- aktos
[resolu] error 17 : Cannot mount selected partition
Salut,
On me demande d'installer un linux sur un pc, j'installe donc kubuntu et ...
Après l'installation j'ai l'erreur
error 17 : Cannot mount selected partition
Qu'est ce que cela veut dire ?
Comment y remédier ?
Je fait entrer et j'ai le petit menu grub et ca revient
Dernière modification par aktos (Le 03/08/2007, à 13:01)
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#2 Le 03/08/2007, à 10:56
- belga
Re : [resolu] error 17 : Cannot mount selected partition
Démarre en live et poste le retour de
sudo fdisk -l
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#3 Le 03/08/2007, à 11:18
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
Voila ce que cela donne !
C'est grave ?
Un disque dure tout neuf de 250 giga qui vient d'être installé
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1946 15631213+ 7 HPFS/NTFS
/dev/hda2 1947 30401 228564787+ 5 Extended
/dev/hda5 1947 4496 20482843+ 83 Linux
/dev/hda6 4497 4623 1020096 82 Linux swap / Solaris
/dev/hda7 4624 8447 30716248+ 83 Linux
/dev/hda8 8448 30401 176345473+ b W95 FAT32
ubuntu@ubuntu:~$
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#4 Le 03/08/2007, à 11:24
- belga
Re : [resolu] error 17 : Cannot mount selected partition
Normalement, rien de grave. As tu recréé des partitions aprés installe?
Tu vas poster une série de données.
Si hda5 est la racine / et hda7 le /home (sinon tu changes 5 par 7):
sudo mkdir /panne
sudo mount -o rw /dev/hda5 /panne
poste alors
cat /panne/boot/grub/menu.lst
cat /panne/etc/fstab
cat /panne/boot/grub/device.map
ls -l /dev/disk/by-uuid/
puis tape
sudo grub
grub> find /boot/grub/stage1 #poste le retour
grub> quit
Dernière modification par belga (Le 03/08/2007, à 12:04)
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#5 Le 03/08/2007, à 12:04
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
ca me semble compliqué pour une installe tout fraiche !
Bon,
voici les résusltats :
ubuntu@ubuntu:~$ cat /panne/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 change this entry to 'saved' 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=5d7cb431-ab21-4df1-9a2f-1ff66183da88 ro
# kopt_2_6=root=UUID=7874289374285662 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
## 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
## ## End Default Options ##
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=7874289374285662 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=7874289374285662 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, 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/hda1
title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1
le fstab
ubuntu@ubuntu:~$ cat /panne/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda5
UUID=5d7cb431-ab21-4df1-9a2f-1ff66183da88 / ext3 defaults,errors=remount-ro 0 1
# /dev/hda7
UUID=a2fa3abe-6e17-4fab-bc5c-a86711063b06 /home ext3 defaults 0 2
# /dev/hda1
UUID=7874289374285662 /media/hda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/hda6
UUID=848b049a-0ed4-4a2e-91de-a6b790bd32d1 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Il me semble qu'il ne trouve pas hda5 ?
ubuntu@ubuntu:~$ cat /panne/boot/grub/device.map
(hd0) /dev/hda
ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2007-08-03 09:48 5d7cb431-ab21-4df1-9a2f-1ff66183da88 -> ../../hda5
lrwxrwxrwx 1 root root 10 2007-08-03 09:48 7874289374285662 -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-08-03 09:48 848b049a-0ed4-4a2e-91de-a6b790bd32d1 -> ../../hda6
lrwxrwxrwx 1 root root 10 2007-08-03 09:48 a2fa3abe-6e17-4fab-bc5c-a86711063b06 -> ../../hda7
La je ne comprends plus !!!
Dernière modification par aktos (Le 03/08/2007, à 12:10)
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#6 Le 03/08/2007, à 12:08
- belga
Re : [resolu] error 17 : Cannot mount selected partition
Rien de grave:
ca me semble compliqué pour une installe tout fraiche !
je préfère tout demander au lieu de te faire poster toutes les heures.
Ainsi on règle le problème en une fois.
Je peux défà te dire que le menu.lst doit être corrigé.
J'attends les retours des autres commandes
Dernière modification par belga (Le 03/08/2007, à 12:09)
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#7 Le 03/08/2007, à 12:11
- belga
Re : [resolu] error 17 : Cannot mount selected partition
je te dis dans 1 minutes comment récupérer
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#8 Le 03/08/2007, à 12:13
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
Pas de soucis ! je fais des mises à jours à chaque fois pour éviter que je perde le résultat. J'espère qu'il y en aura pas pour des heures ! Normalement une installe se fait toute seule avec ubuntu.
Je continue
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> find /boot/grub/stage1
(hd0,4)
J'ai oublié de répondre à quelques questions
Normalement, rien de grave. As tu recréé des partitions aprés installe?
Non, mais avant l'install, j'ai installer un xp et creer manuellement les patitions suivantes
- hda5 : ext3 ( racine )
- hda6 -> swap
- hda7 --> ext3 ( mon home )
- et une patition finale fat32.
ce que j'ai trouvé bizarre c'est que quand j'ai fait l'install, il ne me connaissait pas les 2 dernieres partitions,
Est ce que le disque est trop gros pour le CD d'install ?
Faut il que je recommence en oubliant le /home ?
Tu vas poster une série de données.
Si hda5 est la racine / et hda7 le /home (sinon tu changes 5 par 7):
Dernière modification par aktos (Le 03/08/2007, à 12:20)
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#9 Le 03/08/2007, à 12:18
- belga
Re : [resolu] error 17 : Cannot mount selected partition
Tu ouvres le menu.lst
sudo kate /panne/boot/grub/menu.lst
tu repères ces lignes
# kopt_2_6=root=UUID=7874289374285662 ro
.
.
# groot=(hd0,0)
tu changes en
# kopt_2_6=root=UUID=5d7cb431-ab21-4df1-9a2f-1ff66183da88 ro
.
.
# groot=(hd0,4)
puis tu tapes
sudo update-grub
et tu reposte
cat /panne/boot/grub/menu.lst
Effectivement ça devrait se faire tout seul a priori à l'installation.?
Dernière modification par belga (Le 03/08/2007, à 12:24)
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#10 Le 03/08/2007, à 12:36
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
déjà quand je tapait kate, ca ne passait pas ,
ubuntu@ubuntu:~$ sudo kate
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
kded: cannot connect to X server :0.0
DCOP aborting call from 'anonymous-15874' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
kdeinit: Shutting down running client.
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /root/.DCOPserver_ubuntu__0
and start dcopserver again.
---------------------------------
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
kded: cannot connect to X server :0.0
DCOP aborting call from 'anonymous-15882' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
kio (KSycoca): ERROR: No database available!
j'ai utilisé nano et fait les modifs !
puis ...
ubuntu@ubuntu:~$ sudo update-grub
Searching for GRUB installation directory ...
No GRUB directory found. To create a template run 'mkdir /boot/grub' first. To install grub, install it manually or try the 'grub-install' command. ### Warning, grub-install is used to change your MBR. ###
revoici donc le nouveau menu.lst
ubuntu@ubuntu:~$ cat /panne/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 change this entry to 'saved' 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=5d7cb431-ab21-4df1-9a2f-1ff66183da88 ro
# kopt_2_6=root=UUID=5d7cb431-ab21-4df1-9a2f-1ff66183da88 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## 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
## 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
## ## End Default Options ##
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=7874289374285662 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=7874289374285662 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, 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/hda1
title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1
Dernière modification par aktos (Le 03/08/2007, à 12:37)
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#11 Le 03/08/2007, à 12:41
- belga
Re : [resolu] error 17 : Cannot mount selected partition
Ah oui il faut chrooter, tape alors
cd /panne
sudo chroot /panne /update-grub
et reposte
cat /panne/boot/grub/menu.lst
Dernière modification par belga (Le 03/08/2007, à 13:39)
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#12 Le 03/08/2007, à 12:47
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
ubuntu@ubunt
u:/panne$ sudo chroot /panne /update-grub
chroot: cannot run command `/update-grub': No such file or directory
J'ai refait une variante sans / avant update-grub
ubuntu@ubuntu:/panne$ sudo chroot /panne update-grub
Searching for GRUB installation directory ... found: /boot/grub
findfs: Unable to resolve 'UUID=5d7cb431-ab21-4df1-9a2f-1ff66183da88'
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.20-15-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
et revoici le menu.lst
ubuntu@ubuntu:/panne$ cat /panne/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 change this entry to 'saved' 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=5d7cb431-ab21-4df1-9a2f-1ff66183da88 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## 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
## 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
## ## End Default Options ##
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=5d7cb431-ab21-4df1-9a2f-1ff66183da88 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=5d7cb431-ab21-4df1-9a2f-1ff66183da88 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,4)
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/hda1
title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1
Dernière modification par aktos (Le 03/08/2007, à 12:51)
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#13 Le 03/08/2007, à 12:53
- belga
Re : [resolu] error 17 : Cannot mount selected partition
Ok c'est bon
reste ceci à faire et tu redémarres
sudo grub
grub> root (hd0,4)
grub> setup (hd0)
grub> quit
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#14 Le 03/08/2007, à 13:00
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
Ca marche :):):)
Merci !
Mais je me pose quand meme des questions :
- est ce que j'ai fait une erreur à l'installation ?
- comment éviter que cela se reproduise : J'ai à faire la même installation une deuxième fois pour un autre pc.
- Est ce que le cd kubuntu est buggué ? Faut il faire une installation autrement ?
Bon en tout ca ca marche et je vais pouvoir aller déjeuner avec un problème de moins encore merci
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#15 Le 03/08/2007, à 13:08
- belga
Re : [resolu] error 17 : Cannot mount selected partition
pour hda8 rajoute ceci dans le fstab
tape (change Echange par ce que tu veux comme nom)
sudo mkdir /media/Echange
# Entry for /dev/hda8 :
/dev/hda8 /media/Echange vfat rw,defaults,utf8,umask=000,gid=46 0 0
pour la partition ntfs change le 1 de la fin par 0
Pour kate
il faut peut être faire kdesu kate et non sudo kate ou
bien alt+F2 puis taper sudo kate.
Pour tes questions: je me le demande. As tu eu une question pour
l'installation de grub style indiquer la partition racine?
Dernière modification par belga (Le 03/08/2007, à 13:09)
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#16 Le 03/08/2007, à 13:54
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
Ce que je me souviens : j'ai eu un message en anglais qui me disait que tout était ok mais après c'était long et j'ai peut être fermé un peu brutalement.
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#17 Le 03/08/2007, à 14:01
- belga
Re : [resolu] error 17 : Cannot mount selected partition
bah ça doit être ça, sinon kubuntu fait bien cela.
Ici dans ton menu.lst sur les lignes root tu avais (hd0,0)
et sur kernel tu avais l'uuid de (hd0,0) qui correspond à
la partition windows.
La ligne #groot que je t'ai fais changer sert lors d'un
update ou une mise à jour du noyau (sinon rebelote ) que tu devrais faire
car pour l'instant on est au numéro 2.6.20-16.
Dernière modification par belga (Le 03/08/2007, à 14:04)
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne
#18 Le 03/08/2007, à 14:36
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
Je suis en train de mettre à jour le tout car pour l'instant c'est pas stable. KDE crash souvent ! probablement car il lui manque quelque chose.
Puis, je changerais le fstab pour avoir mes autres partitions..
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#19 Le 03/08/2007, à 15:25
- aktos
Re : [resolu] error 17 : Cannot mount selected partition
J'ai parlé trop vite ! Je n'arrive pas à avoir un système opérationel : J'ai un écran bleu . sans menu
Je ne sais plus quoi faire ? Réinstaller tout ?
Kubuntu 14.04 Suivez moi sur gnusocial ou sur hubzilla
mes expériences et réflexions sur linux
Hors ligne
#20 Le 03/08/2007, à 15:34
- belga
Re : [resolu] error 17 : Cannot mount selected partition
Ok
je pense qu'une réinstallation te fera gagner du temps.
Pour essayer de réparer, alt+F2 tu tapes Konsole
tu devrais alors avoir accès à un terminal:
tape alors
sudo apt-get install kubuntu-desktop kde-i18n-fr language-pack-kde-fr language-support-fr
Ou avec le mode recovery
tu dois avoir accès à un terminal de suite.
sudo apt-get install kubuntu-desktop kde-i18n-fr language-pack-kde-fr language-support-fr
Si non une réinstalle sans fermer.
Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.
900s entre deux postes: mododoze
Hors ligne