I've been struggling to set up a dual-boot system with 10.04 and Win7 for about a month now. My issue is that no matter what I try, I cannot get a grub screen to show. After the BIOS is exited, Win7 starts loading.
I'm trying to set up the dual-boot system on a single 500gb drive. I first installed W7, and used the partitioner in the W7 installer to create a 400gb partition at the beginning of the drive, on which I installed W7.
After W7 installed and was working properly, I installed 10.04 on the 100gb partition, setting aside 4gb of that for swap. After the install finished, I realized I wasn't getting a grub screen, so I used the 10.04 text based installer to reinstall grub. Same issue. Using the 10.04 desktop installer, I opened the terminal and followed the directions in the Grub 2 Wiki (https://wiki.ubuntu.com/Grub2#Restor...Reinstallation) to recover Grub.
During these steps, I ran into one issue. When I got the the line noted below, "kate" was not recognized as a valid command. I had to exit chroot, use the line "sudo kate /etc/default/grub", edit the file, the chroot back in. I continued the steps and everything seemed to work properly, however a grub menu still failed to show during boot.
I've also edited the /etc/default/grub file to match what is listed under "Where did my Grub2 boot menu go!?!?!" with no success. From what I've found, the shift key is supposed to display the grub menu during boot if it's just hidden. I've tried both shift keys without success. I'm getting pretty frusterated trying to get this setup to work correctly. I can usually resolve any issues I have by spending a couple hours searching the forums, but it seems like I'm striking out this time.
Any help would be appreciated. Thanks in advance.
I'm trying to set up the dual-boot system on a single 500gb drive. I first installed W7, and used the partitioner in the W7 installer to create a 400gb partition at the beginning of the drive, on which I installed W7.
After W7 installed and was working properly, I installed 10.04 on the 100gb partition, setting aside 4gb of that for swap. After the install finished, I realized I wasn't getting a grub screen, so I used the 10.04 text based installer to reinstall grub. Same issue. Using the 10.04 desktop installer, I opened the terminal and followed the directions in the Grub 2 Wiki (https://wiki.ubuntu.com/Grub2#Restor...Reinstallation) to recover Grub.
During these steps, I ran into one issue. When I got the the line noted below, "kate" was not recognized as a valid command. I had to exit chroot, use the line "sudo kate /etc/default/grub", edit the file, the chroot back in. I continued the steps and everything seemed to work properly, however a grub menu still failed to show during boot.
$ sudo fdisk -l
$ sudo mount /dev/sda1 /mnt
$ sudo mount --bind /dev /mnt/dev
$ sudo mount --bind /proc /mnt/proc
$ sudo mount --bind /sys /mnt/sys
$ sudo chroot /mnt
Now you need to edit the /etc/default/grub file to fit your system
$ nano /etc/default/grub Error Here (I replaced "nano" with "kate")
$ sudo mount /dev/sda1 /mnt
$ sudo mount --bind /dev /mnt/dev
$ sudo mount --bind /proc /mnt/proc
$ sudo mount --bind /sys /mnt/sys
$ sudo chroot /mnt
Now you need to edit the /etc/default/grub file to fit your system
$ nano /etc/default/grub Error Here (I replaced "nano" with "kate")
I've also edited the /etc/default/grub file to match what is listed under "Where did my Grub2 boot menu go!?!?!" with no success. From what I've found, the shift key is supposed to display the grub menu during boot if it's just hidden. I've tried both shift keys without success. I'm getting pretty frusterated trying to get this setup to work correctly. I can usually resolve any issues I have by spending a couple hours searching the forums, but it seems like I'm striking out this time.
Any help would be appreciated. Thanks in advance.
Comment