I have a problem that requires urgent solving, since I need both a 64 bit Linux and windows 10 running asap since I have to log in to work from windows, but I also have some other work on 64bit Linux
As listed in the title, I had windows 10 education and needed a Linux to dual boot....I first screwed up by using my old mint 18.3 on 32 bits to install to go with windows, so I realised I need a new 64 bit CD, so i destroyed the Linux partitions from windows 10, and when I restarted I had a crashed GRUB command line...and from here a long list of trouble which is tormenting me and costing me money for 2 days. I have written a mint 21 vanessa CD on 64 bits, but when installing from the CD it could not write the bootloader on /dev/sda, as was the default option....I have tried reinstalling several times. Could only get back to windows when installing mint 18.3.
I have noticed some firmware errors when logging in and out of linux also.
I have planned to repair Windows with a windows 10 recovery disk, but I could not, I have tried all the options there, but none work, includeing the firmware and some commands from the internet, some worked and some not, which resulted in the computer now booting in the network mode, as nothing from the hard drive seems to work.
Before this crash I have tried installing mint 21. over windows and linux18.3 which were working but I couldn't because it tried to write the bootloader again and failed with fatal error. Before starting the install, mint21 only detecte mint 18 as an OS. I ended up with a new 500MB ESP boot partition which was visible as fat32 drive E: in windows.
So i installed mint 19.1 and it worked, but when the PC rebooted it was going directly in mint. During the installation proces it said no OS detected.Found some commands in other results, update-grub something and now I have 4 options, or related to mint 19.1 the menu when pressing FN + F12 on my laptop for BIOS option and boot order has been diminished.
I have an ubuntu efi in that list, which says it can not boot if i try it, probabily the failed grub from previous crashes.
The partitions and the files are accesible from Mint 19.1, just can't find the OS to boot it
found a utility os-prober that does not give any output.
Other outputs that may help:
Code: Select all
mihnea@mihnea-Lenovo-B50-80:~$ sudo tree /boot
/boot
├── abi-4.15.0-20-generic
├── config-4.15.0-20-generic
├── grub
│ ├── fonts
│ │ └── unicode.pf2
│ ├── gfxblacklist.txt
│ ├── grub.cfg
│ ├── grubenv
│ ├── i386-pc
│ │ ├── 915resolution.mod
│ │ ├── acpi.mod
│ │ ├── adler32.mod
│ │ ├── affs.mod
│ │ ├── afs.mod
│ │ ├── ahci.mod
│ │ ├── all_video.mod
│ │ ├── aout.mod
│ │ ├── archelp.mod
│ │ ├── ata.mod
│ │ ├── at_keyboard.mod
│ │ ├── backtrace.mod
│ │ ├── bfs.mod
│ │ ├── biosdisk.mod
│ │ ├── bitmap.mod
│ │ ├── bitmap_scale.mod
│ │ ├── blocklist.mod
│ │ ├── boot.img
│ │ ├── boot.mod
│ │ ├── bsd.mod
│ │ ├── bswap_test.mod
│ │ ├── btrfs.mod
│ │ ├── bufio.mod
│ │ ├── cat.mod
│ │ ├── cbfs.mod
│ │ ├── cbls.mod
│ │ ├── cbmemc.mod
│ │ ├── cbtable.mod
│ │ ├── cbtime.mod
│ │ ├── chain.mod
│ │ ├── cmdline_cat_test.mod
│ │ ├── cmosdump.mod
│ │ ├── cmostest.mod
│ │ ├── cmp.mod
│ │ ├── cmp_test.mod
│ │ ├── command.lst
│ │ ├── configfile.mod
│ │ ├── core.img
│ │ ├── cpio_be.mod
│ │ ├── cpio.mod
│ │ ├── cpuid.mod
│ │ ├── crc64.mod
│ │ ├── cryptodisk.mod
│ │ ├── crypto.lst
│ │ ├── crypto.mod
│ │ ├── cs5536.mod
│ │ ├── ctz_test.mod
│ │ ├── datehook.mod
│ │ ├── date.mod
│ │ ├── datetime.mod
│ │ ├── diskfilter.mod
│ │ ├── disk.mod
│ │ ├── div.mod
│ │ ├── div_test.mod
│ │ ├── dm_nv.mod
│ │ ├── drivemap.mod
│ │ ├── echo.mod
│ │ ├── efiemu32.o
│ │ ├── efiemu64.o
│ │ ├── efiemu.mod
│ │ ├── ehci.mod
│ │ ├── elf.mod
│ │ ├── eval.mod
│ │ ├── exfat.mod
│ │ ├── exfctest.mod
│ │ ├── ext2.mod
│ │ ├── extcmd.mod
│ │ ├── fat.mod
│ │ ├── file.mod
│ │ ├── font.mod
│ │ ├── freedos.mod
│ │ ├── fshelp.mod
│ │ ├── fs.lst
│ │ ├── functional_test.mod
│ │ ├── gcry_arcfour.mod
│ │ ├── gcry_blowfish.mod
│ │ ├── gcry_camellia.mod
│ │ ├── gcry_cast5.mod
│ │ ├── gcry_crc.mod
│ │ ├── gcry_des.mod
│ │ ├── gcry_dsa.mod
│ │ ├── gcry_idea.mod
│ │ ├── gcry_md4.mod
│ │ ├── gcry_md5.mod
│ │ ├── gcry_rfc2268.mod
│ │ ├── gcry_rijndael.mod
│ │ ├── gcry_rmd160.mod
│ │ ├── gcry_rsa.mod
│ │ ├── gcry_seed.mod
│ │ ├── gcry_serpent.mod
│ │ ├── gcry_sha1.mod
│ │ ├── gcry_sha256.mod
│ │ ├── gcry_sha512.mod
│ │ ├── gcry_tiger.mod
│ │ ├── gcry_twofish.mod
│ │ ├── gcry_whirlpool.mod
│ │ ├── gdb.mod
│ │ ├── geli.mod
│ │ ├── gettext.mod
│ │ ├── gfxmenu.mod
│ │ ├── gfxterm_background.mod
│ │ ├── gfxterm_menu.mod
│ │ ├── gfxterm.mod
│ │ ├── gptsync.mod
│ │ ├── gzio.mod
│ │ ├── halt.mod
│ │ ├── hashsum.mod
│ │ ├── hdparm.mod
│ │ ├── hello.mod
│ │ ├── help.mod
│ │ ├── hexdump.mod
│ │ ├── hfs.mod
│ │ ├── hfspluscomp.mod
│ │ ├── hfsplus.mod
│ │ ├── http.mod
│ │ ├── hwmatch.mod
│ │ ├── iorw.mod
│ │ ├── iso9660.mod
│ │ ├── jfs.mod
│ │ ├── jpeg.mod
│ │ ├── keylayouts.mod
│ │ ├── keystatus.mod
│ │ ├── ldm.mod
│ │ ├── legacycfg.mod
│ │ ├── legacy_password_test.mod
│ │ ├── linux16.mod
│ │ ├── linux.mod
│ │ ├── loadenv.mod
│ │ ├── loopback.mod
│ │ ├── lsacpi.mod
│ │ ├── lsapm.mod
│ │ ├── lsmmap.mod
│ │ ├── ls.mod
│ │ ├── lspci.mod
│ │ ├── luks.mod
│ │ ├── lvm.mod
│ │ ├── lzopio.mod
│ │ ├── macbless.mod
│ │ ├── macho.mod
│ │ ├── mda_text.mod
│ │ ├── mdraid09_be.mod
│ │ ├── mdraid09.mod
│ │ ├── mdraid1x.mod
│ │ ├── memdisk.mod
│ │ ├── memrw.mod
│ │ ├── minicmd.mod
│ │ ├── minix2_be.mod
│ │ ├── minix2.mod
│ │ ├── minix3_be.mod
│ │ ├── minix3.mod
│ │ ├── minix_be.mod
│ │ ├── minix.mod
│ │ ├── mmap.mod
│ │ ├── moddep.lst
│ │ ├── modinfo.sh
│ │ ├── morse.mod
│ │ ├── mpi.mod
│ │ ├── msdospart.mod
│ │ ├── mul_test.mod
│ │ ├── multiboot2.mod
│ │ ├── multiboot.mod
│ │ ├── nativedisk.mod
│ │ ├── net.mod
│ │ ├── newc.mod
│ │ ├── nilfs2.mod
│ │ ├── normal.mod
│ │ ├── ntfscomp.mod
│ │ ├── ntfs.mod
│ │ ├── ntldr.mod
│ │ ├── odc.mod
│ │ ├── offsetio.mod
│ │ ├── ohci.mod
│ │ ├── part_acorn.mod
│ │ ├── part_amiga.mod
│ │ ├── part_apple.mod
│ │ ├── part_bsd.mod
│ │ ├── part_dfly.mod
│ │ ├── part_dvh.mod
│ │ ├── part_gpt.mod
│ │ ├── partmap.lst
│ │ ├── part_msdos.mod
│ │ ├── part_plan.mod
│ │ ├── part_sun.mod
│ │ ├── part_sunpc.mod
│ │ ├── parttool.lst
│ │ ├── parttool.mod
│ │ ├── password.mod
│ │ ├── password_pbkdf2.mod
│ │ ├── pata.mod
│ │ ├── pbkdf2.mod
│ │ ├── pbkdf2_test.mod
│ │ ├── pcidump.mod
│ │ ├── pci.mod
│ │ ├── plan9.mod
│ │ ├── play.mod
│ │ ├── png.mod
│ │ ├── priority_queue.mod
│ │ ├── probe.mod
│ │ ├── procfs.mod
│ │ ├── progress.mod
│ │ ├── pxechain.mod
│ │ ├── pxe.mod
│ │ ├── raid5rec.mod
│ │ ├── raid6rec.mod
│ │ ├── random.mod
│ │ ├── read.mod
│ │ ├── reboot.mod
│ │ ├── regexp.mod
│ │ ├── reiserfs.mod
│ │ ├── relocator.mod
│ │ ├── romfs.mod
│ │ ├── scsi.mod
│ │ ├── search_fs_file.mod
│ │ ├── search_fs_uuid.mod
│ │ ├── search_label.mod
│ │ ├── search.mod
│ │ ├── sendkey.mod
│ │ ├── serial.mod
│ │ ├── setjmp.mod
│ │ ├── setjmp_test.mod
│ │ ├── setpci.mod
│ │ ├── sfs.mod
│ │ ├── shift_test.mod
│ │ ├── signature_test.mod
│ │ ├── sleep.mod
│ │ ├── sleep_test.mod
│ │ ├── spkmodem.mod
│ │ ├── squash4.mod
│ │ ├── syslinuxcfg.mod
│ │ ├── tar.mod
│ │ ├── terminal.lst
│ │ ├── terminal.mod
│ │ ├── terminfo.mod
│ │ ├── test_blockarg.mod
│ │ ├── testload.mod
│ │ ├── test.mod
│ │ ├── testspeed.mod
│ │ ├── tftp.mod
│ │ ├── tga.mod
│ │ ├── time.mod
│ │ ├── trig.mod
│ │ ├── tr.mod
│ │ ├── truecrypt.mod
│ │ ├── true.mod
│ │ ├── udf.mod
│ │ ├── ufs1_be.mod
│ │ ├── ufs1.mod
│ │ ├── ufs2.mod
│ │ ├── uhci.mod
│ │ ├── usb_keyboard.mod
│ │ ├── usb.mod
│ │ ├── usbms.mod
│ │ ├── usbserial_common.mod
│ │ ├── usbserial_ftdi.mod
│ │ ├── usbserial_pl2303.mod
│ │ ├── usbserial_usbdebug.mod
│ │ ├── usbtest.mod
│ │ ├── vbe.mod
│ │ ├── verify.mod
│ │ ├── vga.mod
│ │ ├── vga_text.mod
│ │ ├── video_bochs.mod
│ │ ├── video_cirrus.mod
│ │ ├── video_colors.mod
│ │ ├── video_fb.mod
│ │ ├── videoinfo.mod
│ │ ├── video.lst
│ │ ├── video.mod
│ │ ├── videotest_checksum.mod
│ │ ├── videotest.mod
│ │ ├── xfs.mod
│ │ ├── xnu.mod
│ │ ├── xnu_uuid.mod
│ │ ├── xnu_uuid_test.mod
│ │ ├── xzio.mod
│ │ ├── zfscrypt.mod
│ │ ├── zfsinfo.mod
│ │ └── zfs.mod
│ ├── locale
│ │ ├── en_AU.mo
│ │ ├── en_CA.mo
│ │ ├── en_GB.mo
│ │ └── en@quot.mo
│ └── unicode.pf2
├── initrd.img-4.15.0-20-generic
├── memtest86+.bin
├── memtest86+.elf
├── memtest86+_multiboot.bin
├── retpoline-4.15.0-20-generic
├── System.map-4.15.0-20-generic
└── vmlinuz-4.15.0-20-generic
Code: Select all
mihnea@mihnea-Lenovo-B50-80:~$ sudo fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x05808183
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
/dev/sda2 1026048 465707173 464681126 221,6G 7 HPFS/NTFS/exFAT
/dev/sda3 465709056 466968575 1259520 615M 27 Hidden NTFS WinRE
/dev/sda4 1701335038 1953523711 252188674 120,3G 5 Extended
/dev/sda5 * 1701335040 1702385663 1050624 513M ef EFI (FAT-12/16/32)
/dev/sda6 1793525760 1953523711 159997952 76,3G 83 Linux
/dev/sda7 1785511936 1793513471 8001536 3,8G 82 Linux swap / Solaris
/dev/sda8 1745496064 1785495551 39999488 19,1G 83 Linux
Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.
Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931,5G 0 disk
├─sda1 8:1 0 500M 0 part
├─sda2 8:2 0 221,6G 0 part
├─sda3 8:3 0 615M 0 part
├─sda4 8:4 0 1K 0 part
├─sda5 8:5 0 513M 0 part
├─sda6 8:6 0 76,3G 0 part /home
├─sda7 8:7 0 3,8G 0 part [SWAP]
└─sda8 8:8 0 19,1G 0 part /
sr0 11:0 1 4G 0 rom /media/mihnea/ESD-ISO
sda2 is the main windows partition C:, sda1 system reserved and sda3 windows recovery.
sda5 is what i got after puting, mint21 at some point over windows with mint 18.3 the E: mentioned earlier, would it be better if i just delete it?
https://ibb.co/F5JxtVT
AFAIK I have both system installed under Legacy, at least the Mint 19.1
After running the following:
Code: Select all
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
http://sprunge.us/I7sULj
didn't see firmware issues when loading, but it still doesn't find windows partition.
will installing a new windows 10 over the old one (so i can keep my user and data) help fix the problem? Window repari with all the other optons didn't work.