phillychease
December 17th, 2009, 07:21 AM
i installed windows 7 on my computer, well double booted it and now my grub2 menu is gone.
i tired following instructions on this site (https://wiki.ubuntu.com/Grub2#Recover%20Grub%202%20via%20LiveCD) but i got confused here
Now you need to edit the /etc/default/grub file to fit your system
what do i do when i edit it? this is what i get:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"
here are the fdisk info:
Disk /dev/sda: 120.1 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf84ef84e
Device Boot Start End Blocks Id System
/dev/sda1 1 7135 57311856 83 Linux
/dev/sda2 * 7136 7148 102400 7 HPFS/NTFS
/dev/sda3 7148 14057 55497728 7 HPFS/NTFS
/dev/sda4 14058 14596 4329517+ 5 Extended
/dev/sda5 14058 14596 4329486 82 Linux swap / Solaris
i tired following instructions on this site (https://wiki.ubuntu.com/Grub2#Recover%20Grub%202%20via%20LiveCD) but i got confused here
Now you need to edit the /etc/default/grub file to fit your system
what do i do when i edit it? this is what i get:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"
here are the fdisk info:
Disk /dev/sda: 120.1 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf84ef84e
Device Boot Start End Blocks Id System
/dev/sda1 1 7135 57311856 83 Linux
/dev/sda2 * 7136 7148 102400 7 HPFS/NTFS
/dev/sda3 7148 14057 55497728 7 HPFS/NTFS
/dev/sda4 14058 14596 4329517+ 5 Extended
/dev/sda5 14058 14596 4329486 82 Linux swap / Solaris