Pages : 1
#1 Le 16/05/2009, à 11:57
- chachatte
Enlever proprement windows
Bonjour y a peu j'avais installer ubuntu 9.04 en dual boot avec windows xp pour voir si celui ci me conviendrait parfaitement Celui ci me va a merveille donc je voudrais supprimer windows.
Mais je voudrais faire ca proprement, c'est a dire que mon windows qui est actuellement monter automatiquement soit remplacer par une partition ext3 monter aussi automatiquement au demarrage, et aussi enlever cette partition dans le demarrage de grub. Je voudrais aussi que cette partition soit vu comme maintenant c'est a dire que je vois toujours mon média de 22 Go dans l'onglet raccourci.
merci
Hors ligne
#2 Le 16/05/2009, à 12:12
- SkeRoy
Re : Enlever proprement windows
"Proprement"... je ne vois que l'édition manuelle des fichiers...
Pour commencer, peux tu afficher ici le contenu des fichier fstab et menu.lst :
cat /etc/fstab
cat /boot/grub/menu.lst
Hors ligne
#3 Le 16/05/2009, à 12:27
- chachatte
Re : Enlever proprement windows
Voici les deux fichiers
Fstab
## ## 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=309221a5-d83c-4e78-9589-aa9c9caca7ea ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=309221a5-d83c-4e78-9589-aa9c9caca7ea
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 9.04, kernel 2.6.28-11-generic
uuid 309221a5-d83c-4e78-9589-aa9c9caca7ea
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=309221a5-d83c-4e78-9589-aa9c9caca7ea ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 309221a5-d83c-4e78-9589-aa9c9caca7ea
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=309221a5-d83c-4e78-9589-aa9c9caca7ea ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 309221a5-d83c-4e78-9589-aa9c9caca7ea
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
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
Dernière modification par chachatte (Le 16/05/2009, à 12:33)
Hors ligne
#4 Le 16/05/2009, à 12:38
- SkeRoy
Re : Enlever proprement windows
Alors, pour le grub, il faut enlever la fin :
Soit toute cette partie :
# 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
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
Tu peux l'enlever en faisant :
sudo nano /boot/grub/menu.lst
en allant à la fin, en supprimant, puis ctrl+X et réponds oui.
Fais attention de ne rien modifier de plus ! et laisse une ligne vide à la fin.
Dernière modification par SkeRoy (Le 16/05/2009, à 12:40)
Hors ligne
#5 Le 16/05/2009, à 13:23
- chachatte
Re : Enlever proprement windows
Hmmm je pense que je vais faire plus simple en reformatant le pc comme mon installation est recente je n'ai pas beaucoup de chose a sauvergarder, cela me permettra de me faire un /home separer
Hors ligne
#6 Le 16/05/2009, à 13:37
- SkeRoy
Re : Enlever proprement windows
bah, tu pourrais utiliser l'espace dégagé pour faire ton home... c'est pas plus compliqué !
Hors ligne
Pages : 1