You are not logged in.

#1 2015-09-02 02:05:20

matheussilvapb
Member
Registered: 2015-08-23
Posts: 6

[CLOSED] Windows 7 won't boot after partitioning

I partitioned my HD to install Arch LInux, and it's working perfectly, but when I try to boot the previously installed Windows 7 from GRUB, it throws this error: https://support.microsoft.com/en-us/kb/2004518 . But I don't have the Windows installation CD. Is there anyway i fix this from my Arch linux or a live USB ? I know this is a Windows problem, but I'm looking for a solution from my Arch Linux.hlinux.org/hlinux.org/

Last edited by matheussilvapb (2015-09-29 00:40:39)

Offline

#2 2015-09-02 07:25:12

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,752
Website

Re: [CLOSED] Windows 7 won't boot after partitioning

Please post the output of:

ls -R /boot
lsblk
# parted -l
# efibootmgr -v

Offline

#3 2015-09-02 16:39:28

matheussilvapb
Member
Registered: 2015-08-23
Posts: 6

Re: [CLOSED] Windows 7 won't boot after partitioning

Head_on_a_Stick wrote:

Please post the output of:

ls -R /boot
lsblk
# parted -l
# efibootmgr -v
[root@... ~]# ls -R /boot
/boot:
grub  initramfs-linux-fallback.img  initramfs-linux.img  vmlinuz-linux

/boot/grub:
fonts  grub.cfg  grub.cfg.example  grubenv  i386-pc  locale  themes

/boot/grub/fonts:
unicode.pf2

/boot/grub/i386-pc:
915resolution.mod     gcry_twofish.mod		password.mod
acpi.mod	      gcry_whirlpool.mod	password_pbkdf2.mod
adler32.mod	      gdb.mod			pata.mod
affs.mod	      geli.mod			pbkdf2.mod
afs.mod		      gettext.mod		pbkdf2_test.mod
ahci.mod	      gfxmenu.mod		pcidump.mod
all_video.mod	      gfxterm_background.mod	pci.mod
aout.mod	      gfxterm_menu.mod		plan9.mod
archelp.mod	      gfxterm.mod		play.mod
ata.mod		      gptsync.mod		png.mod
at_keyboard.mod       gzio.mod			priority_queue.mod
backtrace.mod	      halt.mod			probe.mod
bfs.mod		      hashsum.mod		procfs.mod
biosdisk.mod	      hdparm.mod		progress.mod
bitmap.mod	      hello.mod			pxechain.mod
bitmap_scale.mod      help.mod			pxe.mod
blocklist.mod	      hexdump.mod		raid5rec.mod
boot.img	      hfs.mod			raid6rec.mod
boot.mod	      hfspluscomp.mod		read.mod
boottime.mod	      hfsplus.mod		reboot.mod
bsd.mod		      http.mod			regexp.mod
btrfs.mod	      iorw.mod			reiserfs.mod
bufio.mod	      iso9660.mod		relocator.mod
cacheinfo.mod	      jfs.mod			romfs.mod
cat.mod		      jpeg.mod			scsi.mod
cbfs.mod	      keylayouts.mod		search_fs_file.mod
cbls.mod	      keystatus.mod		search_fs_uuid.mod
cbmemc.mod	      ldm.mod			search_label.mod
cbtable.mod	      legacycfg.mod		search.mod
cbtime.mod	      legacy_password_test.mod	sendkey.mod
chain.mod	      linux16.mod		serial.mod
cmdline_cat_test.mod  linux.mod			setjmp.mod
cmosdump.mod	      loadenv.mod		setjmp_test.mod
cmostest.mod	      loopback.mod		setpci.mod
cmp.mod		      lsacpi.mod		sfs.mod
command.lst	      lsapm.mod			signature_test.mod
configfile.mod	      lsmmap.mod		sleep.mod
core.img	      ls.mod			sleep_test.mod
cpio_be.mod	      lspci.mod			spkmodem.mod
cpio.mod	      luks.mod			squash4.mod
cpuid.mod	      lvm.mod			syslinuxcfg.mod
crc64.mod	      lzopio.mod		tar.mod
cryptodisk.mod	      macbless.mod		terminal.lst
crypto.lst	      macho.mod			terminal.mod
crypto.mod	      mda_text.mod		terminfo.mod
cs5536.mod	      mdraid09_be.mod		test_blockarg.mod
datehook.mod	      mdraid09.mod		testload.mod
date.mod	      mdraid1x.mod		test.mod
datetime.mod	      memdisk.mod		testspeed.mod
diskfilter.mod	      memrw.mod			tftp.mod
disk.mod	      minicmd.mod		tga.mod
div_test.mod	      minix2_be.mod		time.mod
dm_nv.mod	      minix2.mod		trig.mod
drivemap.mod	      minix3_be.mod		tr.mod
echo.mod	      minix3.mod		truecrypt.mod
efiemu.mod	      minix_be.mod		true.mod
ehci.mod	      minix.mod			udf.mod
elf.mod		      mmap.mod			ufs1_be.mod
eval.mod	      moddep.lst		ufs1.mod
exfat.mod	      modinfo.sh		ufs2.mod
exfctest.mod	      morse.mod			uhci.mod
ext2.mod	      mpi.mod			usb_keyboard.mod
extcmd.mod	      msdospart.mod		usb.mod
fat.mod		      multiboot2.mod		usbms.mod
file.mod	      multiboot.mod		usbserial_common.mod
font.mod	      nativedisk.mod		usbserial_ftdi.mod
freedos.mod	      net.mod			usbserial_pl2303.mod
fshelp.mod	      newc.mod			usbserial_usbdebug.mod
fs.lst		      nilfs2.mod		usbtest.mod
functional_test.mod   normal.mod		vbe.mod
gcry_arcfour.mod      ntfscomp.mod		verify.mod
gcry_blowfish.mod     ntfs.mod			vga.mod
gcry_camellia.mod     ntldr.mod			vga_text.mod
gcry_cast5.mod	      odc.mod			video_bochs.mod
gcry_crc.mod	      offsetio.mod		video_cirrus.mod
gcry_des.mod	      ohci.mod			video_colors.mod
gcry_dsa.mod	      part_acorn.mod		video_fb.mod
gcry_idea.mod	      part_amiga.mod		videoinfo.mod
gcry_md4.mod	      part_apple.mod		video.lst
gcry_md5.mod	      part_bsd.mod		video.mod
gcry_rfc2268.mod      part_dfly.mod		videotest_checksum.mod
gcry_rijndael.mod     part_dvh.mod		videotest.mod
gcry_rmd160.mod       part_gpt.mod		xfs.mod
gcry_rsa.mod	      partmap.lst		xnu.mod
gcry_seed.mod	      part_msdos.mod		xnu_uuid.mod
gcry_serpent.mod      part_plan.mod		xnu_uuid_test.mod
gcry_sha1.mod	      part_sun.mod		xzio.mod
gcry_sha256.mod       part_sunpc.mod		zfscrypt.mod
gcry_sha512.mod       parttool.lst		zfsinfo.mod
gcry_tiger.mod	      parttool.mod		zfs.mod

/boot/grub/locale:
ast.mo	      de.mo	      eo.mo  hu.mo  nb.mo     ru.mo  vi.mo
ca.mo	      en@arabic.mo    es.mo  id.mo  nl.mo     sl.mo  zh_CN.mo
da.mo	      en@hebrew.mo    fi.mo  it.mo  pa.mo     sv.mo  zh_TW.mo
de_CH.mo      en@piglatin.mo  fr.mo  ja.mo  pl.mo     tr.mo
de@hebrew.mo  en@quot.mo      gl.mo  lt.mo  pt_BR.mo  uk.mo

/boot/grub/themes:
starfield

/boot/grub/themes/starfield:
blob_w.png	      dejavu_10.pf2	  terminal_box_e.png
boot_menu_c.png       dejavu_12.pf2	  terminal_box_ne.png
boot_menu_e.png       dejavu_14.pf2	  terminal_box_n.png
boot_menu_ne.png      dejavu_16.pf2	  terminal_box_nw.png
boot_menu_n.png       dejavu_bold_14.pf2  terminal_box_se.png
boot_menu_nw.png      README		  terminal_box_s.png
boot_menu_se.png      slider_c.png	  terminal_box_sw.png
boot_menu_s.png       slider_n.png	  terminal_box_w.png
boot_menu_sw.png      slider_s.png	  theme.txt
boot_menu_w.png       starfield.png
COPYING.CC-BY-SA-3.0  terminal_box_c.png
[root@... ~]# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk 
├─sda1   8:1    0   6.5G  0 part 
├─sda2   8:2    0   100M  0 part 
├─sda3   8:3    0  92.6G  0 part 
├─sda4   8:4    0   512M  0 part [SWAP]
├─sda5   8:5    0   512M  0 part 
└─sda6   8:6    0    19G  0 part /

sda1, 2, 3 are my Windows partitions. sda4, 5, 6 are my Arch partitions.

[root@... ~]# parted -l
Model: ATA SAMSUNG MMCRE28G (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                  Flags
 1      1049kB  7015MB  7014MB  ntfs            Windows RE            diag
 2      7015MB  7120MB  105MB   ntfs            Microsoft basic data  msftdata
 3      7120MB  107GB   99.4GB  ntfs            Microsoft basic data  msftdata
 4      107GB   107GB   537MB   linux-swap(v1)
 5      107GB   108GB   537MB                                         bios_grub
 6      108GB   128GB   20.4GB  ext4
[root@... ~]# efibootmgr -v
bash: efibootmgr: command not found

Couldn't run that last command :\

Offline

#4 2015-09-02 20:01:44

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,752
Website

Re: [CLOSED] Windows 7 won't boot after partitioning

Sorry, I only know how to fix the Windows bootmanager from Arch in UEFI systems.

Perhaps if you give more details of your installation procedure we could see where you went wrong.

Offline

#5 2015-09-03 00:09:16

matheussilvapb
Member
Registered: 2015-08-23
Posts: 6

Re: [CLOSED] Windows 7 won't boot after partitioning

Head_on_a_Stick wrote:

Sorry, I only know how to fix the Windows bootmanager from Arch in UEFI systems.

Perhaps if you give more details of your installation procedure we could see where you went wrong.

I shrunk my windows partition, and created 3 more (boot, swap and root) for arch. I think the shriking process may have affected the windows partition.

Offline

#6 2015-09-03 03:19:11

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: [CLOSED] Windows 7 won't boot after partitioning

If you have a product key you can download the win7 iso from MS, which you can burn on a dvd or usb.
https://www.microsoft.com/en-us/softwar … d/windows7

alternatively you can check the ms-sys package mentioned in https://wiki.archlinux.org/index.php/Ma … oot_record, the changelog mentioned support for win 7

Offline

#7 2015-09-05 15:42:23

matheussilvapb
Member
Registered: 2015-08-23
Posts: 6

Re: [CLOSED] Windows 7 won't boot after partitioning

matheussilvapb wrote:
Head_on_a_Stick wrote:

Sorry, I only know how to fix the Windows bootmanager from Arch in UEFI systems.

Perhaps if you give more details of your installation procedure we could see where you went wrong.

I shrunk my windows partition, and created 3 more (boot, swap and root) for arch. I think the shriking process may have affected the windows partition.

Actually I forgot to mention, i installed and set grub with os-prober.

Offline

#8 2015-09-05 16:23:57

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,752
Website

Re: [CLOSED] Windows 7 won't boot after partitioning

matheussilvapb wrote:

I think the shriking process may have affected the windows partition.

Perhaps.

It's always best to defragment the Windows partition beforehand and shrink it using the tools provided in Windows.

Offline

Board footer

Powered by FluxBB