2.3 Installation on a DELL server with existing Windows Server 2008

Cox

New Member
Apr 20, 2013
3
0
1
Hi All,

I had a running Windows Server 2008 R2 for some time, almost 2 years on a DELL PowerEdgde T110 ii, 8GB RAM, 3 SATA disks:
500GB - Dell boot partition, Windows Server 2008 boot partition, Windows Server 2008 OS partition
500Gb - Data, no bootable
1,5Tb - Data, no bootable

The server is up and running with Sharepoint, SQL Server and other used stuff.

As I´m needing virtual machines for new database instances, I decided to move to Proxmox and transform my server into a virtual machine. The idea is to create a VM to keep my old WS2008 installation and to build new machines for new servers and databases.

So, I bought a brand new 2TB SATA disk and installed on the server. I them installed proxmox on this new disk with the other disks running, booting from a USB Stick.

After reboot, GRUB started working but showing only the Proxmox boot option (as well as some memory test). I´m 12 hours trying to boot Windows again with no success and I need to get my server up again (my next steps would be to live migrate Windows to a VM).

I runned bootinfoscript results and the grub.cfg are shown below. I tried update-grub several times but it continues producing the same grub.cfg with no dell or windows boot on it.

So, I need help on the following questions:

a) How can I fix this situation and let grub recognize my windows installation ?
b) How can I recover the DELL partition option ?
c) How can I re-estabilish the original server boot scheme ?
d) I´ve heard of a boot-repair-disk tool, but I can´t run it on proxmox (add-apt-repository ppa:yannubuntu/boot-repair doesn´t work)

I really appreciate any kind of help as I´m new in the Linux world and in big trouble...

Thanks,

Cox

Code:
  Boot Info Script 0.61      [1 April 2012]




============================= Boot Info Summary: ===============================


 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 1 for (,msdos1)/grub.
 => Windows is installed in the MBR of /dev/sdb.
 => Windows is installed in the MBR of /dev/sdc.
 => No boot loader is installed in the MBR of /dev/sdd.


sda1: __________________________________________________________________________


    File system:       vfat
    Boot sector type:  Dell Utility: FAT16
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /DELLBIO.BIN /DELLRMK.BIN /COMMAND.COM


sda2: __________________________________________________________________________


    File system:       vfat
    Boot sector type:  Windows 7: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /boot/bcd


sda3: __________________________________________________________________________


    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found


sda4: __________________________________________________________________________


    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found


sdb1: __________________________________________________________________________


    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found


sdc1: __________________________________________________________________________


    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Mounting failed:   mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found


sdd1: __________________________________________________________________________


    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/core.img


sdd2: __________________________________________________________________________


    File system:       LVM2_member
    Boot sector type:  -
    Boot sector info: 


pve-swap': _____________________________________________________________________


    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type ''


pve-root': _____________________________________________________________________


    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type ''
mount: unknown filesystem type ''


pve-data': _____________________________________________________________________


    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type 'ntfs'
bootinfoscript: line 2376: ntfs-3g: command not found
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''


============================ Drive/Partition Info: =============================


Drive: sda _____________________________________________________________________


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes


Partition  Boot  Start Sector    End Sector  # of Sectors  Id System


/dev/sda1                  63        80,324        80,262  de Dell Utility
/dev/sda2    *         81,920     4,276,223     4,194,304   b W95 FAT32
/dev/sda3           4,276,224   567,171,071   562,894,848   7 NTFS / exFAT / HPFS
/dev/sda4         567,171,072   976,771,071   409,600,000   7 NTFS / exFAT / HPFS




Drive: sdb _____________________________________________________________________


Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes


Partition  Boot  Start Sector    End Sector  # of Sectors  Id System


/dev/sdb1               2,048   976,771,071   976,769,024   7 NTFS / exFAT / HPFS




Drive: sdc _____________________________________________________________________


Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes


Partition  Boot  Start Sector    End Sector  # of Sectors  Id System


/dev/sdc1               2,048 2,930,274,303 2,930,272,256   7 NTFS / exFAT / HPFS




Drive: sdd _____________________________________________________________________


Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes


Partition  Boot  Start Sector    End Sector  # of Sectors  Id System


/dev/sdd1    *          2,048     1,048,575     1,046,528  83 Linux
/dev/sdd2           1,048,576 3,907,028,991 3,905,980,416  8e Linux LVM




"blkid" output: ________________________________________________________________


Device           UUID                                   TYPE       LABEL


/dev/mapper/pve-data bdbee287-aa46-4a20-a9a4-650f87919fb9   ext3       
/dev/mapper/pve-root dc4e7d22-bef8-4cb7-a121-07423ea9541e   ext3       
/dev/mapper/pve-swap 1955925a-2ec3-4ae6-b9f8-7ff16f90fbbb   swap       
/dev/sda1        5450-4444                              vfat       DellUtility
/dev/sda2        E635-061A                              vfat       OS
/dev/sda3        70EE430CEE42C9D4                       ntfs       VM, FERRAMENTAS E PUBLICO
/dev/sda4        641E7FBD1E7F8738                       ntfs       SISTEMA OPERACIONAL
/dev/sdb1        D27AD1E77AD1C7FD                       ntfs       REPOSITORIO DADOS PRINCIPAL
/dev/sdc1        8AC8364EC8363931                       ntfs       BACKUP SERVIDOR E CONTRASTE004
/dev/sdd1        2a32f502-8234-48e4-9ef4-e18b31f6a9ac   ext3       
/dev/sdd2        s6Q3uC-YCgs-uyBn-BH2t-hkNm-qRRM-PaFdsV LVM2_member 


========================= "ls -R /dev/mapper/" output: =========================


/dev/mapper:
control
pve-data
pve-root
pve-swap


================================ Mount points: =================================


Device           Mount_Point              Type       Options


/dev/fuse        /etc/pve                 fuse       (rw,nosuid,nodev,default_permissions,allow_other)
/dev/mapper/pve-data /                        ext3       (rw)
/dev/mapper/pve-data /var/lib/vz              ext3       (rw)
/dev/mapper/pve-root /                        ext3       (rw,errors=remount-ro)
/dev/sdd1        /boot                    ext3       (rw)




============================= sdd1/grub/grub.cfg: ==============================


--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#


### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi


function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}


function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}


insmod lvm
insmod part_msdos
insmod ext2
set root='(pve-root)'
search --no-floppy --fs-uuid --set dc4e7d22-bef8-4cb7-a121-07423ea9541e
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd3,msdos1)'
search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
set locale_dir=($root)/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###


### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###


### BEGIN /etc/grub.d/10_linux ###
menuentry 'Proxmox Virtual Environment GNU/Linux, with Linux 2.6.32-18-pve' --class proxmox --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod ext2
    set root='(hd3,msdos1)'
    search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
    echo    'Loading Linux 2.6.32-18-pve ...'
    linux    /vmlinuz-2.6.32-18-pve root=/dev/mapper/pve-root ro  quiet
    echo    'Loading initial ramdisk ...'
    initrd    /initrd.img-2.6.32-18-pve
}
### END /etc/grub.d/10_linux ###


### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###


### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='(hd3,msdos1)'
    search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
    linux16    /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd3,msdos1)'
    search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
    linux16    /memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
    insmod part_msdos
    insmod ext2
    set root='(hd3,msdos1)'
    search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
    multiboot    /memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
    insmod part_msdos
    insmod ext2
    set root='(hd3,msdos1)'
    search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
    multiboot    /memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###


### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###


### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###


### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------


=================== sdd1: Location of files loaded by Grub: ====================


           GiB - GB             File                                 Fragment(s)


   0.196449280 = 0.210935808    grub/core.img                                  1
   0.212017059 = 0.227651584    grub/grub.cfg                                  1
   0.123710632 = 0.132833280    initrd.img-2.6.32-18-pve                       6
   0.116542816 = 0.125136896    vmlinuz-2.6.32-18-pve                          2


======================== Unknown MBRs/Boot Sectors/etc: ========================


Unknown BootLoader on pve-swap'




Unknown BootLoader on pve-root'




Unknown BootLoader on pve-data'






=============================== StdErr Messages: ===============================


  One or more specified logical volume(s) not found.
  One or more specified logical volume(s) not found.
  One or more specified logical volume(s) not found.
hexdump: /dev/mapper/pve-swap': No such file or directory
hexdump: /dev/mapper/pve-swap': No such file or directory
  One or more specified logical volume(s) not found.
  One or more specified logical volume(s) not found.
  One or more specified logical volume(s) not found.
hexdump: /dev/mapper/pve-root': No such file or directory
hexdump: /dev/mapper/pve-root': No such file or directory
  One or more specified logical volume(s) not found.
  One or more specified logical volume(s) not found.
  One or more specified logical volume(s) not found.
hexdump: /dev/mapper/pve-data': No such file or directory
hexdump: /dev/mapper/pve-data': No such file or directory


GRUB CFG FILE

Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#


### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi


function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}


function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}


insmod lvm
insmod part_msdos
insmod ext2
set root='(pve-root)'
search --no-floppy --fs-uuid --set dc4e7d22-bef8-4cb7-a121-07423ea9541e
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd3,msdos1)'
search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
set locale_dir=($root)/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###


### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###


### BEGIN /etc/grub.d/10_linux ###
menuentry 'Proxmox Virtual Environment GNU/Linux, with Linux 2.6.32-18-pve' --class proxmox --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
	echo	'Loading Linux 2.6.32-18-pve ...'
	linux	/vmlinuz-2.6.32-18-pve root=/dev/mapper/pve-root ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-18-pve
}
### END /etc/grub.d/10_linux ###


### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###


### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
	multiboot	/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set 2a32f502-8234-48e4-9ef4-e18b31f6a9ac
	multiboot	/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###


### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###


### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###


### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
 
Last edited:
I've no idea, but if I were you I would try the following:
first, check in bios the boot order, maybe it's booting from your proxmox disk and not from the win2008 one because of this. If is not the case do:
a) disconnect Proxmox 2TB hdu
b) boot from systemresquecd, and at the first menu option choose the "boot from computer hard disk" or something like that, I see /dev/sda2 is bootable and probably the boot part of your Win2008
When I installed proxmox in a PC that already had an OS (Debian GNU/Linux in my case), I disconnected the disk, leaving only the new one, installed Proxmox there, and now if I want to boot into proxmox I use the bios startup F12 choice (it's not standard, you could have a different key one to press) and select that second hd.
 
Hi,
The boot order at BIOS does not boot from Windows disk. I had already disconnected all disks except Windows one and the system doesn´t boot (shows blinking cursor).
I have researched in Debian forums and seens that I need to change GRUB parameters in order to boot Windows, but I don´t know how to to do it.
Any other ideas ?
Rds.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!