Choose style:

Author Topic: Dual boot windows 7 alongside peppermint (SOLVED)  (Read 226 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranmit11

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Dual boot windows 7 alongside peppermint (SOLVED)
« on: October 21, 2019, 09:36:07 am »
For the first time i think it will be okay if i install peppermint os only. So, when i first time installed pep 10 I didn't choose install alongside windows i formated all partition, and start from zero.

But for some reasons i need to back to windows 7 by dual booting with pep 10.

Spoiler (click here to view / hide)
1. I'm tried to burn win 7 used unetbootin in my pep 10 laptop, but its stuck (press any key to boot) when i pressed it nothing happened, that same if i let the time out (it just looping. after 10 seconds passed, back again counting from 10 seconds again)
[close]

2. I decided to burn win 7 in different laptop used rufus

3. I'm already prepared a 30gb ntfs partition for win 7 in pep 10 using gparted

4. I'm normaly installed win 7 inside ntfs partition

5. After rebooting there was a message about source
windows installation is missing
(i don't remember
exactly)

6. Restarted the laptop again there was message try to
reinstall windows

7. I'm formated the win 7 partition, and restart

8. Displaying error message bootmgr is missing...

9. Then installing win 7 with normal procces again inside
ntfs partition

10. The installation is faster than before. And was
succesfully install win 7. But theres no windows boot
manager
. So i cannot enter peppermint for now

11. In win 7 i only see /c: (ntfs) partition in windows explorer.
I can't find another partition that stored my data while in
pep 10 (ext4)

My current laptop is legacy bios
How to fix dual boot win 7 alongside pep 10 guys ?  :-\
« Last Edit: October 24, 2019, 09:33:55 am by Ranmit11 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26082
  • Karma: 2842
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Dual boot windows 7 alongside peppermint
« Reply #1 on: October 21, 2019, 12:07:59 pm »
Can you boot to a Peppermint LiveUSB and post the output from
Code: [Select]
sudo fdisk -l
and
Code: [Select]
blkid
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ranmit11

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Dual boot windows 7 alongside peppermint
« Reply #2 on: October 22, 2019, 12:26:52 pm »
Code: [Select]
ubuntu@ubuntu ~ $ sudo fdisk -l
Disk /dev/loop0: 1.4 GiB, 1472348160 bytes, 2875680 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 /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: dos
Disk identifier: 0x256488f3

Device     Boot     Start       End  Sectors  Size Id Type
/dev/sda1            2048   2000895  1998848  976M 83 Linux
/dev/sda2         2002942  80001023 77998082 37.2G  5 Extended
/dev/sda3  *     80001024 141441023 61440000 29.3G  7 HPFS/NTFS/exFAT
/dev/sda4       141441024 234440703 92999680 44.4G 83 Linux
/dev/sda5         2002944  42000383 39997440 19.1G 83 Linux
/dev/sda6        42002432  56000511 13998080  6.7G 83 Linux
/dev/sda7        56002560  76001279 19998720  9.5G 83 Linux
/dev/sda8        76003328  80001023  3997696  1.9G 82 Linux swap / Solaris

Partition table entries are not in disk order.


Disk /dev/sdb: 7.2 GiB, 7759462400 bytes, 15155200 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
Disklabel type: dos
Disk identifier: 0x00026eae

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1  *     2048 15155199 15153152  7.2G  7 HPFS/NTFS/exFAT


Disk /dev/zram0: 430.1 MiB, 451039232 bytes, 110117 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 430.1 MiB, 451039232 bytes, 110117 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Code: [Select]
ubuntu@ubuntu ~ $ blkid
/dev/sda1: UUID="b0dea33c-89c7-40ee-9d2f-388042927e4f" TYPE="ext4" PARTUUID="256488f3-01"
/dev/sda3: UUID="90FAFBBAFAFB9AA4" TYPE="ntfs" PARTUUID="256488f3-03"
/dev/sda4: LABEL="Data" UUID="047d4d75-af12-4e67-aeda-30f0e9afb80a" TYPE="ext4" PARTUUID="256488f3-04"
/dev/sda5: UUID="f86112db-a7d6-44a2-b462-44073fcfe5f0" TYPE="ext4" PARTUUID="256488f3-05"
/dev/sda6: UUID="7939a43a-6255-41ab-8a5e-0d81040da72a" TYPE="ext4" PARTUUID="256488f3-06"
/dev/sda7: UUID="962922a7-f2dd-4158-8760-249f3fd48cb4" TYPE="ext4" PARTUUID="256488f3-07"
/dev/sdb1: LABEL="MULTIBOOT" UUID="C64A8F9E4A8F89BF" TYPE="ntfs" PARTUUID="00026eae-01"
« Last Edit: October 22, 2019, 12:37:48 pm by Ranmit11 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26082
  • Karma: 2842
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Dual boot windows 7 alongside peppermint
« Reply #3 on: October 22, 2019, 04:05:10 pm »
Okay now I'm baffled...
(you appear to have SIX Linux partitions including swap)

How many Linux distros are installed on this system ?

Do you know which of sda1, sda4, sda5, sda6, and sda7 i s the Peppermint root partition ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ranmit11

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Dual boot windows 7 alongside peppermint
« Reply #4 on: October 23, 2019, 07:34:28 am »
I am newbie just following installation guide in web, (sorry I can't find that web) :(
but i remember to choose "something else"
make some partitions with mount point  : /boot, /var, /, /usr, /home (i don't remember exactly)

I'm sure sda4 is my personal partition storage

I don't know how to post a picture here (want to post a files screenshots), hopeful this ls command output can help :-\

inside sda1 =
Code: [Select]
ubuntu@ubuntu /media/ubuntu/b0dea33c-89c7-40ee-9d2f-388042927e4f $ ls
System.map-4.18.0-18-generic  grub                          memtest86+.elf
System.map-5.0.0-31-generic   initrd.img-4.18.0-18-generic  memtest86+_multiboot.bin
config-4.18.0-18-generic      initrd.img-5.0.0-31-generic   vmlinuz-4.18.0-18-generic
config-5.0.0-31-generic       lost+found                    vmlinuz-5.0.0-31-generic
efi                           memtest86+.bin

inside sda5(I suspect this is /home it because that my username) =
Code: [Select]
ubuntu@ubuntu /media/ubuntu/f86112db-a7d6-44a2-b462-44073fcfe5f0 $ ls
bajra  lost+found

inside sda6 =
Code: [Select]
ubuntu@ubuntu /media/ubuntu/7939a43a-6255-41ab-8a5e-0d81040da72a $ ls
backups  crash  local  log         mail     opt  snap   tmp
cache    lib    lock   lost+found  metrics  run  spool

inside sda7 =
Code: [Select]
ubuntu@ubuntu /media/ubuntu/962922a7-f2dd-4158-8760-249f3fd48cb4 $ ls
bin    dev   initrd.img      lib64       mnt   root  snap  tmp  vmlinuz
boot   etc   initrd.img.old  lost+found  opt   run   srv   usr  vmlinuz.old
cdrom  home  lib             media       proc  sbin  sys   var

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26082
  • Karma: 2842
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Dual boot windows 7 alongside peppermint
« Reply #5 on: October 23, 2019, 12:10:57 pm »
Okay looks like you've set up separate partitions for:-

sda1 = /boot
sda5 = /home
sda6 = /var
sda7 = /




Okay let's reinstall the GRUB bootloader.

Boot to a Peppermint LiveUSB, once at the desktop open a terminal and run these commands IN SEQUENCE:
Code: [Select]
sudo mount /dev/sda7 /mnt
then
Code: [Select]
sudo mount /dev/sda1 /mnt/boot
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install /dev/sda
then
Code: [Select]
update-grub
then the Ctrl+D to exit the chroot environment.

Then REBOOT without the LiveUSB and see if you're offered both Peppermint and Windows in the GRUB menu.

If the system boots directly into Peppermint (without displaying the GRUB menu), open a terminal and run:
Code: [Select]
sudo update-grub
then reboot to see if GRUB offeres you both OS's
« Last Edit: October 23, 2019, 12:13:56 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ranmit11

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Dual boot windows 7 alongside peppermint
« Reply #6 on: October 24, 2019, 09:32:12 am »
Thank very much !!!  :D :D :D :D :D :D

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26082
  • Karma: 2842
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Dual boot windows 7 alongside peppermint (SOLVED)
« Reply #7 on: October 25, 2019, 09:21:09 pm »
You're most welcome, glad I could help :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec