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.

#101 Le 22/08/2010, à 16:05

Meister3627

Re : [tuto]installer Ubuntu Manuellement

j'ai redemarrer et je boot direct sur ubuntu plus de windows

Hors ligne

#102 Le 22/08/2010, à 16:07

Josepe36

Re : [tuto]installer Ubuntu Manuellement

tu as le choix ou ça demare automatiquement ?

sinon :

cat /boot/grub/grub.cfg


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#103 Le 22/08/2010, à 16:08

Meister3627

Re : [tuto]installer Ubuntu Manuellement

aucun choix

Hors ligne

#104 Le 22/08/2010, à 16:08

Meister3627

Re : [tuto]installer Ubuntu Manuellement

cat /boot/grub/grub.cfgmeister@meister:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 68b33329-aba9-45ee-bd6a-d78220a114d6
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 68b33329-aba9-45ee-bd6a-d78220a114d6
set locale_dir=($root)/boot/grub/locale
set lang=xh
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,2)'
    search --no-floppy --fs-uuid --set 68b33329-aba9-45ee-bd6a-d78220a114d6
    linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=68b33329-aba9-45ee-bd6a-d78220a114d6 ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,2)'
    search --no-floppy --fs-uuid --set 68b33329-aba9-45ee-bd6a-d78220a114d6
    echo    'Loading Linux 2.6.32-21-generic ...'
    linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=68b33329-aba9-45ee-bd6a-d78220a114d6 ro single
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,2)'
    search --no-floppy --fs-uuid --set 68b33329-aba9-45ee-bd6a-d78220a114d6
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,2)'
    search --no-floppy --fs-uuid --set 68b33329-aba9-45ee-bd6a-d78220a114d6
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
meister@meister:~$

Hors ligne

#105 Le 22/08/2010, à 16:08

Josepe36

Re : [tuto]installer Ubuntu Manuellement

et que donne la commande

sudo update-grub ?


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#106 Le 22/08/2010, à 16:10

Josepe36

Re : [tuto]installer Ubuntu Manuellement

et oui y a pas d'entré pour windows.


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#107 Le 22/08/2010, à 16:13

Meister3627

Re : [tuto]installer Ubuntu Manuellement

meister@meister:~$ sudo update-grub
[sudo] password for meister:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
done
meister@meister:~$

Hors ligne

#108 Le 22/08/2010, à 16:14

Josepe36

Re : [tuto]installer Ubuntu Manuellement

on dirait que os-prober nous joue des tours

sudo os-prober ?


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#109 Le 22/08/2010, à 16:16

Meister3627

Re : [tuto]installer Ubuntu Manuellement

lorsque je met sudo os-prober j'ai rien

meister@meister:~$ sudo os-prober
meister@meister:~$

Hors ligne

#110 Le 22/08/2010, à 16:18

Josepe36

Re : [tuto]installer Ubuntu Manuellement

sudo aptitude install os-prober

sudo os-prober

si c'est concluant

sudo update-grub


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#111 Le 22/08/2010, à 16:19

Josepe36

Re : [tuto]installer Ubuntu Manuellement

un sudo update sera peut etre nécéssaire


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#112 Le 22/08/2010, à 16:19

Meister3627

Re : [tuto]installer Ubuntu Manuellement

meister@meister:~$ sudo aptitude install os-prober
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initialising package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initialising package states... Done

meister@meister:~$ sudo os-prober
meister@meister:~$ sudo os-prober
meister@meister:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
done
meister@meister:~$

Hors ligne

#113 Le 22/08/2010, à 16:23

Josepe36

Re : [tuto]installer Ubuntu Manuellement

tu as fait

sudo update

et
sudo aptitude install os-prober

sinon on va essayer de faire autrement


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#114 Le 22/08/2010, à 16:24

Meister3627

Re : [tuto]installer Ubuntu Manuellement

oui je l'ai fait

Hors ligne

#115 Le 22/08/2010, à 16:32

Josepe36

Re : [tuto]installer Ubuntu Manuellement

bon alors on fait un dernier truc aprés faut que je m'échappe


sudo blkid

voilà ce que j'ai:
/dev/sda1: LABEL="Windows7" UUID="00021807021803F6" TYPE="ntfs"
/dev/sda2: LABEL="SAUVEGARDE" UUID="6632BFDC1FF08A58" TYPE="ntfs"
/dev/sda5: UUID="31e6733c-5e7c-4de4-b427-b4ff0c3fe060" TYPE="swap"
/dev/sda6: UUID="3cbcb5a3-be6d-481f-a821-c1264a16f160" TYPE="ext4"
/dev/sda7: UUID="da55951f-e5d6-4c8b-8d67-0134dc1c90f8" TYPE="ext4"
/dev/ramzswap0: TYPE="swap"
sudo gedit /ect/grub.d/40_custom

tu fais
sudo gedit /etc/grub.d/40_custom
et tu l'edite comme ceci en changeant l'uuid par le tiens :

#!/bin/sh
exec tail -n +3 $0

menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 00021807021803f6
    chainloader +1
}

# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

tu enregistre le changement et

sudo update-grub


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#116 Le 22/08/2010, à 16:35

Meister3627

Re : [tuto]installer Ubuntu Manuellement

je redemarre

Hors ligne

#117 Le 22/08/2010, à 16:37

Meister3627

Re : [tuto]installer Ubuntu Manuellement

Ubuntu direct!merci pour ton aide

Hors ligne

#118 Le 22/08/2010, à 16:38

Josepe36

Re : [tuto]installer Ubuntu Manuellement

ça n'a pas fonctionné ???


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#119 Le 22/08/2010, à 16:40

Josepe36

Re : [tuto]installer Ubuntu Manuellement

le principe c'est que
sudo update-grub doit te montré windows 7

larrieu@larrieu:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Ubuntu 10.04 LTS (10.04) on /dev/sda6
done


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#120 Le 22/08/2010, à 16:41

Meister3627

Re : [tuto]installer Ubuntu Manuellement

meister@meister-desktop:~$ sudo update-grub
[sudo] password for meister:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
done
meister@meister-desktop:~$
voila ce que j'ai

Hors ligne

#121 Le 22/08/2010, à 16:50

Josepe36

Re : [tuto]installer Ubuntu Manuellement

bon on va faire plus bourrin alors

sudo gedit /boot/grub/grub.cfg

a cette endroit faut rajouter en editant le bon uuid (sudo blkid) :

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 00021807021803f6
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

tu enregistres et tu ne fais surtout pas de sudo update-grub

en redemarant tu verras ton menu ou sinon des le demarage tu appuis sur echappe, windows devrait apparaitre et esperons que ça demare.


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#122 Le 22/08/2010, à 16:52

kamui57

Re : [tuto]installer Ubuntu Manuellement

gksudo gedit /boot/grub/grub.cfg

fixed tongue

Dernière modification par kamui57 (Le 22/08/2010, à 16:52)


Quand le dernier arbre aura été abattu, et le dernier animal exterminé, les hommes se rendront compte que l'argent ne se mange pas (proverbe indien)
Toshiba Satellite L655 4 Go RAM, Archlinux Gnome-shell,LXDE / W7
Toshiba Satellite M30 512 Mo RAM, Archlinux Gnome 3 restreint / Crunchbang LXDE
https://help.ubuntu.com/community/Pastebinit pour poster du texte sur internet en console

Hors ligne

#123 Le 22/08/2010, à 16:56

Josepe36

Re : [tuto]installer Ubuntu Manuellement

salut kamul57

oui c'est plus propre tongue


Développeur distribution Hybryde
www.hybryde.org

Hors ligne

#124 Le 22/08/2010, à 16:58

Meister3627

Re : [tuto]installer Ubuntu Manuellement

ok ca marche j'ai le choix tongue!Merci a toi.une dernière question est ce normal que j'ai les même phrases qui ce répète a chaque fois (x2)?

Hors ligne

#125 Le 22/08/2010, à 16:59

Josepe36

Re : [tuto]installer Ubuntu Manuellement

sinon ben je te dis a plus tard car là ça fait déjas un moment qu'on y bosse.

1) On a réussi l'install ( j'en suis trés satisfait)

2) Le  multiboot n'est pas réglé ( ça me fout les boulles hmm )

@+


Développeur distribution Hybryde
www.hybryde.org

Hors ligne