Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Help adding Windows 7 Loader back on list


    Hello!

    I had Linux Mint and Windows 7 (default OS) and Windows recovery on the boot menu list. And I thought it was a good idea to change Windows as a default boot up rather than Linux. Well, I went through the Terminal coding. Added Windows 7 Loader code beside the Default section & then updated.

    Linux Terminal did its thing, and said done. However, here's my problem... Linux changed Windows 7 loader to Windows Recovery (because Win7 wasn't found apparently). And now my Windows 7 Loader has disappeared. Therefore, I can't get onto my Windows section of my laptop. I do not have the USB recovery files (who knows where that went). So ANY IDEAS/SUGGESTIONS? Ps. I'm new to Linux.

    Thank you in advance!!

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    Could you post the contents of your boot menu? /boot/grub/grub.cfg
    And contents of /etc/fstab
    Also the output of "sudo fdisk -l"

    Please use code tags for each output.
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  3. #3
    Contents of Boot Menu: (You'll notice: Windows Recovery Loader is repeated twice. The last one was changed from Windows 7 Loader to Recovery)

    trish@trish-linux ~ $ grep menuentry /boot/grub/grub.cfg
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    menuentry_id_option=""
    export menuentry_id_option
    menuentry 'Linux Mint 17.3 Cinnamon 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-af015c41-b303-4717-a6b1-37edf8b48ace' {
    submenu 'Advanced options for Linux Mint 17.3 Cinnamon 64-bit' $menuentry_id_option 'gnulinux-advanced-af015c41-b303-4717-a6b1-37edf8b48ace' {
    menuentry 'Linux Mint 17.3 Cinnamon 64-bit, with Linux 3.19.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-32-generic-advanced-af015c41-b303-4717-a6b1-37edf8b48ace' {
    menuentry 'Linux Mint 17.3 Cinnamon 64-bit, with Linux 3.19.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-32-generic-recovery-af015c41-b303-4717-a6b1-37edf8b48ace' {
    menuentry 'Memory test (memtest86+)' {
    menuentry 'Memory test (memtest86+, serial console 115200)' {
    menuentry 'Windows Recovery Environment (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-DAA41C49A41C2B11' {
    menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-E204E4C704E4A031' {


    /etc/fstab: Is saying Permission Denied

    sudo fdisk -I : trish@trish-linux ~ $ sudo fdisk -l
    [sudo] password for trish:

    Disk /dev/sda: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x40be40be

    Device Boot Start End Blocks Id System
    /dev/sda1 2048 30722047 15360000 27 Hidden NTFS WinRE
    /dev/sda2 * 30722048 30926847 102400 7 HPFS/NTFS/exFAT
    /dev/sda3 30926848 1053697873 511385513 7 HPFS/NTFS/exFAT
    /dev/sda4 1053698046 1250263039 98282497 5 Extended
    /dev/sda5 1053698048 1242552319 94427136 83 Linux
    /dev/sda6 1242554368 1250263039 3854336 82 Linux swap / Solaris

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    That sda3, is that your Win7 partition?
    What happens when you select the Winre at boot?
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  6. #5
    -->
    I'm not sure if the sda3 is my Win7 partition (I'm not sure if this helps, but Win7 came with my comp, and I upgraded it to Win10). The Win partition might be sda3 or 2.
    When I select one the Windows Recovery options- it boots right to recovery mode.
    If this is unresolvable, I did back up my Windows files to my external HD. Thank goodness I could access my files through Linux.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •