#1 Le 08/05/2008, à 00:28
- etpourquoipas
[Résolu] Ubuntu ne se lance pas après l'install...
Bonsoir,
Je viens d'installer hardy heron 64, tout s'est bien déroulé, jusqu'à la demande de reboot.
Puis, le problème c'est que je n'ai jamais le choix de l'os à lancer, c'est chaque fois xp qui démarre directement... j'aimerais que ce soit ubuntu par défaut et que je puisse choisir xp si j'en ai besoin...
Dans le bios:
=>Boot=>Boot Device Priority:
1st : Boot Device CDROM
2nd : Boot Device Hard Disk
3rd : Boot Device Removable
=>Boot=>Hard Disk Drives:
1. SATA1 : ST3400320As
2. 2nd Slave : Maxtor 6L160P0
et si je lance le live cd et que je vais voir dans le dossier boot=>menu.lst
Voici son contenu:
# 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=91de1af4-122f-464d-b315-aea115e45bb1 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,6)
## 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
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd1,6)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=91de1af4-122f-464d-b315-aea115e45bb1 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd1,6)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=91de1af4-122f-464d-b315-aea115e45bb1 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd1,6)
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/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Quelqu'un sait=il ce que je dois faire???
Dernière modification par etpourquoipas (Le 12/05/2008, à 09:27)
Hors ligne
#2 Le 08/05/2008, à 00:38
- necroluckyboy
Re : [Résolu] Ubuntu ne se lance pas après l'install...
Bonsoir.
Sur quel disque as-tu installé Ubuntu ? Comment as-tu installé grub ?
Hors ligne
#3 Le 08/05/2008, à 01:06
- gaston2150
Re : [Résolu] Ubuntu ne se lance pas après l'install...
oula !!!
sa s'en le fakeraid tout ça !!
sinon, lance le livecd, et lancer dans un terminal :
Lancer grub
sudo grub --batch
trouver la partition (hd0 ou hd1 generalement)
grub> find /boot/grub/stage1
pour reinstaller grub
grub> setup (hd0 ou hd1)
grub> quit
redémarre et ça devrai etre bon,
Dernière modification par gaston2150 (Le 08/05/2008, à 01:07)
L'expérience est le fruit de nos erreurs.
XP3000,Geforce6600GT,2HDD sata,A7N8X-E Deluxe
Serveur : P3 500Mhz, 384MoRam, Raid1 2x320Go
Hors ligne
#4 Le 08/05/2008, à 08:27
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
Merci pour vos réponses.
gaston2150, j'ai essayé ta marche a suivre mais apparement ca coince juste avant la fin, voici la console:
Probing devices to guess BIOS drives. This may take a long time.
[ 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
find /boot/grub/stage1
(hd0,6)
grub> setup (hd0)
setup (hd0)
Error 12: Invalid device requested
grub> setup(hd0,6)
setup(hd0,6)
Error 27: Unrecognized command
grub> root (hd0,6)
root (hd0,6)
grub> setup(hd0)
setup(hd0)
Error 27: Unrecognized command
grub> sudo grub --batch
sudo grub --batch
Error 27: Unrecognized command
grub> root (hd0,6)
root (hd0,6)
grub> install(hd0)
install(hd0)
j'ai essayé la commande install que j'avais trouvé sur un post mais ca ne donne rien de mieux...
necroluckyboy
J'ai installé win sur une partition du disque SATA puis j'ai laissé ubuntu partionner le reste du disque SATA et installé grub.
vu la commande ci dessous il semblerait qu'ubuntu soit sur hd0,6:
find /boot/grub/stage1
(hd0,6)
Ce qui me semble bizard c'est que dans le menu.lst c'est qu'on parle plutot de hd1,6:
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd1,6)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=91de1af4-122f-464d-b315-aea115e45bb1 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd1,6)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=91de1af4-122f-464d-b315-aea115e45bb1 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd1,6)
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/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
je ne devrais pas mettre 'root (hd1,6)' au lieu de 'root (hd1,0)' qui est windows... mais j'aimerais avoir la possibilité de choisir parmi les 2 os, mais ubuntu par defaut
Je ne vois pas trop ce qu'il faut faire... zutzutzut...
Hors ligne
#5 Le 08/05/2008, à 08:35
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
si je fais un sudo update=grub dans une terminal:
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. ###
ubuntu@ubuntu:~$ grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
que dois-je mettre pour réinstaller?
Hors ligne
#6 Le 08/05/2008, à 10:55
- gaston2150
Re : [Résolu] Ubuntu ne se lance pas après l'install...
tu peux nous montrer ce qu'il y a dans le dossier /boot/grub
ls -l /boot/grub/
Dernière modification par gaston2150 (Le 08/05/2008, à 10:56)
L'expérience est le fruit de nos erreurs.
XP3000,Geforce6600GT,2HDD sata,A7N8X-E Deluxe
Serveur : P3 500Mhz, 384MoRam, Raid1 2x320Go
Hors ligne
#7 Le 08/05/2008, à 21:00
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
Voici le résultat:
ubuntu@ubuntu:~$ ls -l /boot/grub/
ls: cannot access /boot/grub/: No such file or directory
Mais par contre la commande find /boot/grub/stage1 fonctionnait... hm-hum-hummm
je ne vois pas la possibilité de mettre une image sur le forum donc la voici http://www.mundo-libre.org/grub.png -> screenshoot du dossier grub...
Dernière modification par etpourquoipas (Le 08/05/2008, à 21:12)
Hors ligne
#8 Le 09/05/2008, à 10:34
- gaston2150
Re : [Résolu] Ubuntu ne se lance pas après l'install...
fait voir ce que donne
fdisk -l
Question : pour installer grub, tu t'es bien mis en sudo ?
L'expérience est le fruit de nos erreurs.
XP3000,Geforce6600GT,2HDD sata,A7N8X-E Deluxe
Serveur : P3 500Mhz, 384MoRam, Raid1 2x320Go
Hors ligne
#9 Le 09/05/2008, à 19:07
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
merci pour ton aide! Voici le résultat:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x920a8674
Device Boot Start End Blocks Id System
/dev/sda1 * 2 19929 160071660 f W95 Ext'd (LBA)
/dev/sda5 2 19929 160071628+ b W95 FAT32
Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1710170f
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sdb2 6375 48641 339509677+ f W95 Ext'd (LBA)
/dev/sdb5 6375 31437 201318516 b W95 FAT32
/dev/sdb6 31438 33806 19028961 83 Linux
/dev/sdb7 33807 48033 114278346 83 Linux
/dev/sdb8 48034 48641 4883728+ 82 Linux swap / Solaris
pour ta question, oui je me suis bien mis en sudo comme tu l'avais dis (sudo grub --batch)
Dernière modification par etpourquoipas (Le 09/05/2008, à 19:10)
Hors ligne
#10 Le 09/05/2008, à 23:57
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
personne n'a une petite idée pour qu'ubuntu daigne enfin démarrer???
Hors ligne
#11 Le 10/05/2008, à 19:56
- gaston2150
Re : [Résolu] Ubuntu ne se lance pas après l'install...
essai la démarche plus haut met en mettant hd1 pour voir
car je vois qu'ubuntu est installé sur le 2e disque
L'expérience est le fruit de nos erreurs.
XP3000,Geforce6600GT,2HDD sata,A7N8X-E Deluxe
Serveur : P3 500Mhz, 384MoRam, Raid1 2x320Go
Hors ligne
#12 Le 10/05/2008, à 20:13
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
je reboot sur le live cd et j'essaie!
Hors ligne
#13 Le 10/05/2008, à 20:40
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
à la console:
ubuntu@ubuntu:~$ sudo grub --batch
Probing devices to guess BIOS drives. This may take a long time.
[ 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
find /boot/grub/stage1
(hd1,6)
grub> setup (hd1)
setup (hd1)
Error 12: Invalid device requested
grub> quit
quit
puis en regardant sur https://help.ubuntu.com/community/GrubHowto
j'ai essayé ceci:
grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd1,6)
grub> root (hd1,6)
root (hd1,6)
grub> setup (hd1,6)
setup (hd1,6)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1,6)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd1,6)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd1,6) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
Done.
grub> quit
quit
Si je mets juste setup(hd1) j'ai un message qui dit :"Error 17: Cannot mount selected partition"
Mais c'est toujours l'OS de Billy qui démarre...
Dernière modification par etpourquoipas (Le 10/05/2008, à 20:42)
Hors ligne
#14 Le 10/05/2008, à 21:47
- koopafx
Re : [Résolu] Ubuntu ne se lance pas après l'install...
bonsoir a tous
je suis utilisateur d'ubuntu depuis feisty fawn
mais a l'installation de Hardy heron ,ubuntu ne demarre pas.
le live dvd fonctionne sans erreur ,sans blocage,tout est OK...
mais apres l'installation de hardy heron (demarrage normal),la barre de progression orange s'arrete...
je redemarre en mode recovery mode ,je note les erreurs suivantes (etoile rouge):
Code:
1. can't start hardware astraction layer.please ensure dbus is running.
2. loading hardware drivers
la commande x-session-manager me renvoie l'erreur 3527
je signale que j'ai jamais eu ce probleme sous feisty ou bien sur gutsy ,par contre sous hardy....
je n'ai mis ni de cables reseau,ni de modem,ni de routeur pendant le demarrage
dois je reinstaller encore?
config de mon pc:
Toshiba satellite Pro A10 (pc portable)
disque dur Hitachi Hts54516K9sA00 : 160 giga
RAM :1024 MO
INTEL CORE 2 duo T7300 2GHZ
Intel CORE 2 duo T2310 1.46 GHZ
carte graphique mobile INTEL 965 express chipset familly 256 mo
chicony Usb 2.0 camera
carte reseau Atheros AR5007 EG wireless network adapter
Realtek RTL8101E family PCI-E Fast Ethernet NIC (NDIS 6.0)
partition / :18 giga
partition swap : 1 giga
partition boot : 100 mo
voila
TOSHIBA SATELITTE PRO A200
INTEL ® PENTIUM ® DUAL CPU T2310 @ 1.46 GHZ
carte graphik Intel GMA X3100 . memoire 1024 mo
ma config
Hors ligne
#15 Le 10/05/2008, à 22:10
- gaston2150
Re : [Résolu] Ubuntu ne se lance pas après l'install...
@etpourquoipas : tu as grub qui se lance au démarrage ou pas ?
si non : change dans le bios, le disque dur de boot et met le 2e
si oui ; change dans le menu.lst (hd1,6) en (hd1,5) ou (hd1,4) pour tenter de trouver la partition à booter
++
L'expérience est le fruit de nos erreurs.
XP3000,Geforce6600GT,2HDD sata,A7N8X-E Deluxe
Serveur : P3 500Mhz, 384MoRam, Raid1 2x320Go
Hors ligne
#16 Le 10/05/2008, à 22:12
- gaston2150
Re : [Résolu] Ubuntu ne se lance pas après l'install...
@ koopafx
ouvre un topic pour ton probleme car la on parle de grub et non pas du démarrage d'ubuntu
L'expérience est le fruit de nos erreurs.
XP3000,Geforce6600GT,2HDD sata,A7N8X-E Deluxe
Serveur : P3 500Mhz, 384MoRam, Raid1 2x320Go
Hors ligne
#17 Le 10/05/2008, à 22:27
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
aucune trace visible de grub au démarage, je retourne dans le bios mais ce que je ne comprends pas c'est qu'ubuntu et windooooze xp sont sur le même disque (SATA). sur l'ide il n'y a rien... donc le disque du boot est bien le bon non??
Dernière modification par etpourquoipas (Le 10/05/2008, à 22:28)
Hors ligne
#18 Le 10/05/2008, à 22:32
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
ne serait-il pas utile que je déconnecte l'ide qui ne me sert à rien pour le moment, le temps de régler le probleme de grub?
Hors ligne
#19 Le 10/05/2008, à 23:24
- gaston2150
Re : [Résolu] Ubuntu ne se lance pas après l'install...
non pas trop car ton disque ne serait plus hd1 mais hd0.
linux n'aime pas qu'on touche au disque comme ça
a moins de s'y connaitre
Dernière modification par gaston2150 (Le 10/05/2008, à 23:24)
L'expérience est le fruit de nos erreurs.
XP3000,Geforce6600GT,2HDD sata,A7N8X-E Deluxe
Serveur : P3 500Mhz, 384MoRam, Raid1 2x320Go
Hors ligne
#20 Le 10/05/2008, à 23:48
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
Bon dans le bios,
=>boot => hard disk drives:
1. Sata : ST3400320AS
2. 2nd Slave : Maxtor...
C'est tout ce que j'y trouve. Bon là je ne sais pas si ca peut poser des conflits mais le maxtor IDE est en slave et il n'y a pas de master IDE.
Sinon, le sata ou se trouve windoooze et ubuntu est bien en premier...
je pense que je vais déconnecter mon ide, reformater le tout et réinstaller le tout parce que ca ne fonctionne toujours pas :-(
Hors ligne
#21 Le 12/05/2008, à 09:26
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
La seule solution que j'ai trouvé fut de déconnecter le disque ide, supprimer les partitions, puis réinstaller ubuntu.
Tout fonctionne parfaitement maintenant, merci gaston2150 pour ton aide.
Hors ligne
#22 Le 12/05/2008, à 20:08
- amkoolgarst
Re : [Résolu] Ubuntu ne se lance pas après l'install...
La seule solution que j'ai trouvé fut de déconnecter le disque ide, supprimer les partitions, puis réinstaller ubuntu.
Tout fonctionne parfaitement maintenant, merci gaston2150 pour ton aide.
Super; pourrais-tu donner ton fstab, mtab,
fdisk -l et le menu de grub?
Merci!
Jifya moja haliinjiki chungu.
In girum imus nocte, ecce, et consumimur igni.
Hors ligne
#23 Le 18/05/2008, à 12:02
- etpourquoipas
Re : [Résolu] Ubuntu ne se lance pas après l'install...
Salut,
Voici les infos, mais j'avoue que je n'ai pas essayé de remettre le disque ide, je n'en avais pas vraiment l'utilité et tout fonctionne bien maintenant sans ;-)
fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda6
UUID=f6adfe7e-a4bf-441a-9d51-4fb72fbca7ba / ext3 relatime,errors=remount-ro 0 1
# /dev/sda7
UUID=b775502c-37c0-491d-af73-a9786bf8d0bb none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
mtab:
/dev/sda6 / ext3 rw,relatime,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
lrm /lib/modules/2.6.24-16-generic/volatile tmpfs rw 0 0
securityfs /sys/kernel/security securityfs rw 0 0
gvfs-fuse-daemon /home/joseph/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=joseph 0 0
/dev/sda5 /media/MEDIAS vfat rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush 0 0
fdisk -l:
Disque /dev/sda: 400.0 Go, 400088457216 octets
255 heads, 63 sectors/track, 48641 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x1710170f
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sda2 6375 48641 339509677+ f W95 Etendu (LBA)
/dev/sda5 6375 29462 185454328+ b W95 FAT32
/dev/sda6 29463 47857 147757806 83 Linux
/dev/sda7 47858 48641 6297448+ 82 Linux swap / Solaris
menu.lst 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 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=f6adfe7e-a4bf-441a-9d51-4fb72fbca7ba ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)
## 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
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f6adfe7e-a4bf-441a-9d51-4fb72fbca7ba ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f6adfe7e-a4bf-441a-9d51-4fb72fbca7ba ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd0,5)
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 Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
Voila voilaaa!
Hors ligne