Eu tenho dual boot no Win7 e no Ubuntu por cerca de 4 meses e comecei hoje para mudar a inicialização padrão no grub, porque minha namorada ficava travada quando reiniciava e, por padrão, ia para a partição do Ubuntu .
Eu tentei usar o comando promt. Eu usei o comando encontrado aqui que era sudo gedit /etc/default/grub
Isso não pareceu fazer nada, então eu mudei o grub usando o gerenciador de arquivos e mudei "Default grub = 4", que é o boot que eu deveria usar ...
Isso levou a minha partição do Windows 7 desaparecendo da lista de inicialização, de alguma forma, embora todos os arquivos ainda estejam aparecendo no SO (verificado pelo Ubuntu) e o System Recovery mostre minha última restauração, tentei restaurar e disse que deveria estar funcionando ..
Então eu estou supondo que ele está escondido de alguma forma?
Estou usando o BT5R3.
/etc/default/grub:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=4
#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="text splash vga=791"
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=1024x768
# 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 entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Histórico da shell:
1 exit
2 startx
3 apt-get software center
4 apt-get software-center
5 sudo apt-get software-center
6 install software-center
7 mkdir /opt/java
8 mv -f jre1.70_05/ /opt/java
9 tar xzvf jre-7u45-linux-i586.tar.gz.
10 tar: tar xzvf jre-7u45-linux-i586.tar.gz
11 tar xzvf jre-7u45-linux-i586.tar.gz
12 apt-get install synaptic
13 help
14 install synaptic
15 apt-get synaptic
16 apt-get install synaptic
17 lspci -v
18 help]
19 help
20 help mapfile
21 help
22 info strict refs
23 startx
24 edit grub
25 search grub
26 apt-get install sphinxsearch
27 search grub
28 edit grub boot
29 find grub
30 startx
31 startsx
32 startx
33 -terminal
34 terminal
35 apt-get install rsplib-tools
36 --fix-missing
37 apt-get update
38 terminal
39 apt-get install rsplib-tools
40 terminal
41 update grub
42 update-grub
43 open partition manager
44 open
45 help
46 search partition manager
47 help
48 find partition manager
49 find partitionmanager
50 startx
51 find gparted
52 get gparted
53 get Gparted
54 get-apt Gparted
55 X-AppInstall-Package=gparted
56 help
57 startx
58 run history
59 history
$ sudo grub-mkconfig > /dev/null
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.6
Found initrd image: /boot/initrd.img-3.2.6
Found memtest86+ image: /boot/memtest86+.bin
done
$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb3b6d9a6
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 83647 671785946 7 HPFS/NTFS
/dev/sda3 83647 119927 291422209 5 Extended
/dev/sda4 119927 121577 13249536 7 HPFS/NTFS
/dev/sda5 83647 118706 281610240 83 Linux
/dev/sda6 118706 119927 9810944 82 Linux swap / Solaris