|
|
|
|
salut,
affiche le résultat de ces commandes stp ( à passer en root): fdisk -l mount cat /boot/grub/menu.lst cat /etc/fstabL'expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde |
bon , ...
voila j'ai fais le tour 1) je suis trés décu de fedora 2) impossible de passer sous root voici le message : [bibi@localhost ~]$ sudo su password: bibi is not in the sudoers file. This incident will be reported. [bibi@localhost ~]$ ( le password est correct) 3) je crois que je vais booter avec le cd live de ubuntu a partir de là je pourrais supprimer fedora et récuperer mes donnés importantes moi qui aie toujours été trés content sur ubuntu , j'ai voulu changé ( comme a chaque fois) et le seul os unix convenable reste ubuntu merci quand meme pour ton aide bye bye fedora peut-etre une prochaine fois .... 2 problémes qui apparaissent comme ca ( ca sent la galère) je n'aime pas me faire c**** |
pour passer en root c'est
suL'expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde |
désolé si je me suis un peu énervé
sudo su c'est sur ubuntu ( habitude) :D alors la commande indique [bibi@localhost ~]$ su Mot de passe : [root@localhost bibi]# fdisk -l bash: fdisk: command not found [root@localhost bibi]# mount /dev/sda2 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) [root@localhost bibi]# cat /boot/grub/menu.lst # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,1) # kernel /boot/vmlinuz-version ro root=/dev/sda2 # initrd /boot/initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,1)/boot/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.21-1.3194.fc7) root (hd0,1) kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/1 rhgb quiet initrd /boot/initrd-2.6.21-1.3194.fc7.img [root@localhost bibi]# cat /etc/fstab LABEL=/1 / ext3 defaults 1 1 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/sda1 swap swap defaults 0 0 [root@localhost bibi]# tout conte fais il sufFit de bien s'en servir :D sinon j'ai une iddé : je boot en cd live avec ubuntu a partir de la je serais facilement rentrer dans ma partition et récupérer les données ensuite je réinstalle ubuntu et la le grub se reconfigure à tout les coups ca marche sa vaut le coup d'esseyer non ? :D |
pour le moment on va essayer arranger ca de facon "linuxien" :-), parce que tout réinstaller- ca me rappelle des mauvais souvenirs... ;-)
affiche: /sbin/fdisk -l et mets le resultat entre les balise code stp L'expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde |
Salut,
le problème c'est qu'à l'installation de fedora tu n'aurais pas du écraser le grub d'Ubuntu il me semble que c'est classique chez Fedora de ne pas prendre en compte les autres OS normalement il faut seulement editer menu.lst de fedora mais pour c'est imperative de connaître tes partitions donc affiche la commande qu'aruju t'as donné et utilises plutôt su --- lami20j |
voila ...
[bibi@localhost ~]$ su Mot de passe : [root@localhost bibi]# /sbin/fdisk -l Disk /dev/sda: 20.4 GB, 20416757760 bytes 255 heads, 63 sectors/track, 2482 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 131 1052226 82 Linux swap / Solaris /dev/sda2 * 132 1306 9438187+ 83 Linux /dev/sda3 1307 2482 9446220 83 Linux [root@localhost bibi]# |
il me semble que c'est classique chez Fedora
oui et Suse le fait aussi.. L'expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde |
toujours en root mkdir /mnt/sda3 && mount /dev/sda3 /mnt/sda3 && ls -l /mnt/sda3/bootlami20j |
maintenant:
mkdir /mnt/ubuntu puis mount /dev/sda3 /mnt/ubuntu et ensuite affiche: ls -l /mnt/ubuntu/bootL'expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde |
voila :
[bibi@localhost ~]$ su Mot de passe : [root@localhost bibi]# mkdir /mnt/ubuntu [root@localhost bibi]# mount /dev/sda3 /mnt/ubuntu [root@localhost bibi]# ls -l /mnt/ubuntu/boot total 16836 -rw-r--r-- 1 root root 414210 avr 15 10:07 abi-2.6.20-15-generic -rw-r--r-- 1 root root 83234 avr 15 07:33 config-2.6.20-15-generic drwxr-xr-x 2 root root 4096 jun 16 18:27 grub -rw-r--r-- 1 root root 7180606 jun 16 10:46 initrd.img-2.6.20-15-generic -rw-r--r-- 1 root root 6842512 avr 15 13:56 initrd.img-2.6.20-15-generic.bak -rw-r--r-- 1 root root 94600 oct 20 2006 memtest86+.bin -rw-r--r-- 1 root root 806942 avr 15 10:08 System.map-2.6.20-15-generic -rw-r--r-- 1 root root 1745100 avr 15 10:07 vmlinuz-2.6.20-15-generic [root@localhost bibi]# tout s'est fais sans erreur ( pour info : j'ai fais moi meme les partitions si cela serais le probléme) |
tape:
gedit /boot/grub/menu.lst et ajoute ce qui est en gras # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,1) # kernel /boot/vmlinuz-version ro root=/dev/sda2 # initrd /boot/initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,1)/boot/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.21-1.3194.fc7) root (hd0,1) kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/1 rhgb quiet initrd /boot/initrd-2.6.21-1.3194.fc7.img #ubuntu title Ubuntu, kernel 2.6.20-15-generic (on /dev/sda3) root (hd0,2) kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/sda3 ro initrd /boot/initrd.img-2.6.20-15-generic rootnoverify (hd0,2) L'expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde |
attention un seul kernel ça suffit
kernel kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/sda3 ro kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/sda3 rolami20j
|
ps : j'ai aussi fais la commande de lamij20
et s'est averer sans erreur ( désoler j'ai fermer la fenetre je n'ai pas pu afficher le résultat) et quand je la retape elle m'affiche autre chose : [bibi@localhost ~]$ su Mot de passe : [root@localhost bibi]# mkdir /mnt/sda3 && mount /dev/sda3 /mnt/sda3 && ls -l /mnt/sda3/boot mkdir: ne peut créer le répertoire `/mnt/sda3': Le fichier existe. [root@localhost bibi]# ce qui est correct ( enfin je crois) le message précendent était une liste de quelque chose et quand je la retape elle m'affiche cela
|
corrigé avant que tu poste et toc -D
L'expérience, c'est le nom que chacun donne à ses erreurs.
Oscar Wilde |
si tu as fais le dernier manip que je t'ai donné ici alors redemmare ton pc pour voir
L'expérience, c'est le nom que chacun donne à ses erreurs.
Oscar Wilde |
bonjour
le rapport : aprés avoir fais vos manips sans retour d'erreur je redémarre j'arrive sur le grub j'ai en effet fedore ET ubuntu mais quand je boot sur ubuntu il démmarre en mode texte ( c'est a dire sans la petite barre orange qui défile) arriver au chargement de la souris ... il plante (la souris est de marque microsoft) et j'ai toujours utiliser cet souris là voice les 2 dernière ligne: usbcore: registered new interface driver usbshid
drivers/usb/input/ hid core : v2.6 : usb hid core driver et puis aprés il s'arrete avec une petite barre blanche qui clignote
donc j'en déduit qu'il y a un probléme 1) il ne démmare pas en graphique mais en texte 2) il s'arret aux chargement de la souris en bref : sa ne marche pas voici le menu.lst de grub : # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,1) # kernel /boot/vmlinuz-version ro root=/dev/sda2 # initrd /boot/initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,1)/boot/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.21-1.3194.fc7) root (hd0,1) kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/1 rhgb quiet initrd /boot/initrd-2.6.21-1.3194.fc7.img #ubuntu title Ubuntu, kernel 2.6.20-15-generic (on /dev/sda3) root (hd0,2) kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/sda3 ro initrd /boot/initrd.img-2.6.20-15-generic rootnoverify (hd0,2) |
Salut,
démarre Fedora et fait en root mount /dev/sda3 /mnt/ubuntu grep -E '^(#|$)' /mnt/ubuntu/grub/menu.lst ensuite affiche le résultat lami20j |
juste un soucis de chemin d'accès:
[bibi@localhost ~]$ su Mot de passe : [root@localhost bibi]# mount /dev/sda3 /mnt/ubuntu [root@localhost bibi]# grep -E '^(#|$)' /mnt/ubuntu/grub/menu.lst grep: /mnt/ubuntu/grub/menu.lst: Aucun fichier ou répertoire de ce type [root@localhost bibi]# |
Résultats pour probléme avec grub lors d'une double instal..
Résultats pour probléme avec grub lors d'une double instal..
Résultats pour probléme avec grub lors d'une double instal..