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 16/05/2007, à 10:59

cassini

Plus Rien ne boot apres install Feisty Fawn

J'ai tenter pour la premiere fois d'installer ubuntu sur un disque dur contenant deja un windows xp.
J'ai suivi le tuto , pour ce qui concernait le partitionnement et l'installation , tout s'est passé sans pb jusqu'au reboot.
La j'ai eu la premiere fois droit a une erreur  21 qui , en suivant les differents posts , correspondait a un pb de reconnaissance du hdd par grub.
voici ma config de grub

# 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		4

## 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=457643ba-6d30-44dd-a5b8-6d6fc67265bd ro

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

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

## 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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.20-15-generic
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=457643ba-6d30-44dd-a5b8-6d6fc67265bd ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=457643ba-6d30-44dd-a5b8-6d6fc67265bd ro single
initrd		/boot/initrd.img-2.6.20-15-generic

title		Ubuntu, memtest86+
root		(hd0,7)
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		Microsoft Windows XP Professionnel
root		(hd0,0)
savedefault
makeactive
chainloader	+1

Ne pouvant non plus boot sur ma partoche win , j'ai voulu faire un fixmbr qui m'a donner ensuite un "joli"
DISK BOOT FAILURE INSERT SYSTEM DISK AND PRESS ENTER
J'en suis la , et je demande votre aide avant d'avoir a formater tout ...
merci d'avance

pour info le fdisk -l

Disque /dev/sda: 320.0 Go, 320072933376 octets
255 têtes, 63 secteurs/piste, 38913 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1               1        9591    77039676    7  HPFS/NTFS
/dev/sda2            9592       38913   235528965    f  W95 Etendu (LBA)
/dev/sda5            9592       19790    81923436    7  HPFS/NTFS
/dev/sda6           19791       35088   122881153+   7  HPFS/NTFS
/dev/sda7           35089       35210      979933+  82  Linux swap / Solaris
/dev/sda8           35211       36426     9767488+  83  Linux
/dev/sda9           36427       38250    14651248+  83  Linux
/dev/sda10          38251       38913     5325516    b  W95 FAT32
ubuntu@ubuntu:~$

#2 Le 16/05/2007, à 11:15

Astier

Re : Plus Rien ne boot apres install Feisty Fawn

Dans ton Grub on voit ça

title        Ubuntu, kernel 2.6.20-15-generic
root        (hd0,7)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=457643ba-6d30-44dd-a5b8-6d6fc67265bd ro quiet splash locale=fr_FR
initrd        /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

Or il semblerait que cette partition corresponde à ta partition swap ; je pense que ton système Ubuntu se situe plutôt sur une de ces deux partitions :

/dev/sda8           35211       36426     9767488+  83  Linux
/dev/sda9           36427       38250    14651248+  83  Linux

Au démarrage tu peux tenter de rentre dans le Grub et éditer la ligne correpsondant à ton noyau Ubuntu en appuyant sur e puis modifier la partition sur laquelle ilo doit booter.

C'est seulement une piste, je suis pas un grand spécialiste.

A bientôt

Hors ligne

#3 Le 16/05/2007, à 11:39

Compte anonymisé

Re : Plus Rien ne boot apres install Feisty Fawn

Salut cassini et Astier

Le menu.lst est bon :
(hd0,7) pour grub correspond à /dev/sda8.
Ce qui manque pour booter windows c'est une partition active /dev/sda1.
Pour l'activer tu peux le faire depuis le livecd :
sudo parted /dev/sda set 1 boot on et
sudo parted /dev/sda print pour vérifier. Tu devrais pouvoir booter sur windows.

@+

#4 Le 16/05/2007, à 12:01

cassini

Re : Plus Rien ne boot apres install Feisty Fawn

j ai tenter ce que disait astier effectivement ca ne change rien  vu que ca ne boot pas du tout sur grub
je test ce que tu indique jeanjd63
ca me donne pour info apres le set 1 boot on

Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  78.9GB  78.9GB  primary   ntfs         boot 
 2      78.9GB  320GB   241GB   extended               lba  
 5      78.9GB  163GB   83.9GB  logical   ntfs              
 6      163GB   289GB   126GB   logical   ntfs              
 7      289GB   290GB   1003MB  logical   linux-swap        
 8      290GB   300GB   10.0GB  logical   ext3              
 9      300GB   315GB   15.0GB  logical   ext3              
10      315GB   320GB   5453MB  logical   fat32             

Information: Don't forget to update /etc/fstab, if necessary.

#5 Le 16/05/2007, à 12:18

cassini

Re : Plus Rien ne boot apres install Feisty Fawn

Merci Jeanjd63, j'ecris ce message depuis windows , ca boot sans pb dessus
par contre je n'ai plus grub au demarrage now , j'ai tjrs pas pu tester ubuntu sans passer par le live cd , une soluce ?

#6 Le 16/05/2007, à 14:12

Compte anonymisé

Re : Plus Rien ne boot apres install Feisty Fawn

ReSalut

Avec le livecd tu peux remettre le boot secteur de grub par la manip suivante :
sudo grub -> grub> la taper :
grub> find /boot/grub/menu.lst ce qui devrait donner maintenant: (hd0,7)
là tu tapes :
grub> root (hd0,7) et pour écrire le Boot loader de grub sur /dev/sda :
grub> setup (hd0) et enfin quitter par :
grub> quit

Si tu as à nouveau une erreur 21 tu peux toujours restaurer le mbr windows.

@+

#7 Le 16/05/2007, à 14:40

cassini

Re : Plus Rien ne boot apres install Feisty Fawn

ok je testerais ce soir en sortant du boulot merci de l'info