Grub ubuntu
852456963741
-
852456963741 -
852456963741 -
Bonjour,
lorsque je démare mon ordinateur
je suis obligé de passer par le cd pour lancer ubuntu
si il n'y a pas de cd j'ai : DISK BOOT FAILURE INSERT SYSTEM DISK AND PRESS ENTER
grub est donc mal config
dans mon "menu.lst"
j'ai
je ne suis pas sur mais c'est normale qu'il n'y pas de makeactive par ex ?
merci beaucoup
lorsque je démare mon ordinateur
je suis obligé de passer par le cd pour lancer ubuntu
si il n'y a pas de cd j'ai : DISK BOOT FAILURE INSERT SYSTEM DISK AND PRESS ENTER
grub est donc mal config
dans mon "menu.lst"
j'ai
# 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 3 ## 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=c0455d9d-2aa4-4787-ac69-d1badd27c631 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=UUID=c0455d9d-2aa4-4787-ac69-d1badd27c631 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=UUID=c0455d9d-2aa4-4787-ac69-d1badd27c631 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
je ne suis pas sur mais c'est normale qu'il n'y pas de makeactive par ex ?
merci beaucoup
A voir également:
- Grub ubuntu
- Ubuntu 32 bits - Télécharger - Systèmes d'exploitation
- Ubuntu portable - Télécharger - Systèmes d'exploitation
- Linux mint ou ubuntu - Guide
- Ubuntu 24.04 - Accueil - Ubuntu
- Installer ubuntu sans clé usb ✓ - Forum Ubuntu
13 réponses
alors
(héhé "W95" alors que c'est 98 ^^)
Disque /dev/hda: 20.0 Go, 20020396032 octets 255 heads, 63 sectors/track, 2434 cylinders Units = cylindres of 16065 * 512 = 8225280 bytes Disk identifier: 0xd9dad9da Périphérique Amorce Début Fin Blocs Id Système /dev/hda1 * 1 969 7783461 83 Linux /dev/hda2 970 1218 2000092+ 82 Linux swap / Solaris /dev/hda3 1219 2434 9767520 b W95 FAT32 Disque /dev/hdb: 81.9 Go, 81964302336 octets 255 heads, 63 sectors/track, 9964 cylinders Units = cylindres of 16065 * 512 = 8225280 bytes Disk identifier: 0xa7a3a7a3 Périphérique Amorce Début Fin Blocs Id Système /dev/hdb1 1 6318 50749303+ b W95 FAT32 /dev/hdb2 6319 9964 29286495 83 Linux
(héhé "W95" alors que c'est 98 ^^)
tien je remarque qu'il n'y a que
"dev/hda1"
alors pourquoi marquer
"hd0,0"
dans grub ?
(i am noob :p)
"dev/hda1"
alors pourquoi marquer
"hd0,0"
dans grub ?
(i am noob :p)
grub est bien installé sur /dev/hda ? (dans le doute réinstalle-le)
Ce disque est bien positionné en 1er pour le boot dans le Bios ?
Affiche ton /etc/fstab s'il te plaît, merci.
Ce disque est bien positionné en 1er pour le boot dans le Bios ?
Affiche ton /etc/fstab s'il te plaît, merci.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
hda est bien le 1er
mon su refuse de s ouvrire . . . alors que j'ai pas mi de pass . . . bref . . .
il ne veux pas afficher /etc/fstab (je mi prend mal...)
mon su refuse de s ouvrire . . . alors que j'ai pas mi de pass . . . bref . . .
il ne veux pas afficher /etc/fstab (je mi prend mal...)
c'est grave, c'est installé
puis :
*****@Tux:~$ su
Mot de passe :
su : Échec d'authentification
Désolé.
bref . . .
puis :
*****@Tux:~$ su
Mot de passe :
su : Échec d'authentification
Désolé.
bref . . .
je me suis bien batu . . . bref
je suis en root ouf . . .
mais : /etc/fstab: Permission non accordée
je suis en root ouf . . .
mais : /etc/fstab: Permission non accordée
bon avec un peu de réflection c'est bon
:@Tux:~# grub-install /dev/hda
Searching for GRUB installation directory ... found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/hda
(hd1) /dev/hdb
je reboot pour tester !
:@Tux:~# grub-install /dev/hda
Searching for GRUB installation directory ... found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/hda
(hd1) /dev/hdb
je reboot pour tester !
non marche pas :(
j'ai mi en boot que le hd dans le bios
marche pas
j'ai boot avec un seul hd le a
marche pas
:(
j'ai mi en boot que le hd dans le bios
marche pas
j'ai boot avec un seul hd le a
marche pas
:(
ha oui et pour le cat
c'est bon j'écrivai ca c'est tout . . .
c'est bon j'écrivai ca c'est tout . . .
cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/hda1 UUID=c0455d9d-2aa4-4787-ac69-d1badd27c631 / ext3 defaults,errors=remount-ro 0 1 # /dev/hdb2 UUID=4efdeaa1-75f7-4ef8-a1ab-c364e9ff6b1b /home ext3 defaults 0 2 # /dev/hda2 UUID=f565a19b-8690-4ec0-acef-88b9c29e9596 none swap sw 0 0 /dev/hdd /media/cdrom0 udf,iso9660 user,noauto,exec 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
Ben écoute je vois pas ce qui cloche ;-\
Le flag de boot est bien positionné (/dev/hda1 *)
C'est bien la partition contenant le noyau (/)
Tu boutes bien sur le bon HD
Et t'as réinstallé le grub
Donc mystère et boule de gomme ;-\
Essaye avec "Gag" ou "SuperGrub"
;-))
Le flag de boot est bien positionné (/dev/hda1 *)
C'est bien la partition contenant le noyau (/)
Tu boutes bien sur le bon HD
Et t'as réinstallé le grub
Donc mystère et boule de gomme ;-\
Essaye avec "Gag" ou "SuperGrub"
;-))