• Installing Windows 7 on second hard disk


    Hallo,

    I’m planning to install Windows 7 on a second hard drive. On the first there is a working Antergos install that should not be damaged. If possible I’d prefer to avoid a Grub2 restore too.
    The computer is an old desktop with bios (no UEFI) and I can plug in and out the hard disks separately.

    sudo fdisk -l
    [sudo] Passwort für hiasl: 
    
    Festplatte /dev/sda: 74,5 GiB, 80026361856 Bytes, 156301488 Sektoren
    Einheiten: Sektoren von 1 * 512 = 512 Bytes
    Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
    E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
    Festplattenbezeichnungstyp: dos
    Festplattenbezeichner: 0x000cbcc2
    
    Device     Boot   Start       End   Sectors  Size Id Type
    /dev/sda1  *       2048    499711    497664  243M 83 Linux
    /dev/sda2        499712   3500031   3000320  1,4G 83 Linux
    /dev/sda3       3500032 156301311 152801280 72,9G 83 Linux
    
    Festplatte /dev/sdb: 232,9 GiB, 250059350016 Bytes, 488397168 Sektoren
    Einheiten: Sektoren von 1 * 512 = 512 Bytes
    Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
    E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
    Festplattenbezeichnungstyp: dos
    Festplattenbezeichner: 0xfc4a6b3f
    
    Device     Boot Start       End   Sectors   Size Id Type
    /dev/sdb1  *     2048 488394751 488392704 232,9G  7 HPFS/NTFS/exFAT
    

    So Windows should be installed on /dev/sdb, using entire /dev/sdb.
    Can I simply plug out /dev/sda (to prevent windows from overwriting Grub2 on dev/sda), install windows on /dev/sdb, plug out /dev/sdb after successful installing windows, plug in /dev/sda boot Antergos and do simply

    sudo update-grub 
    

    Will this work ? Can I avoid this way restoring Grub2 ?
    Or is it necessary to have both hard disks plugged in during installation und restoring Grub2 afterwards ?
    Can I use super grub disk for restoring Grub2 if necessary ?

    Didn’t install Windows for such a long time, but my wife needs a fallback machine for her windows notebook.

    Regards hias

  • Install windows as normal, just make sure you install it on the correct drive, and reboot into antergos, then update grub. It should identify your windows installation and automatically create an entry. If it does not automatically find windows you can just manually create an entry.

    https://wiki.archlinux.org/index.php/GRUB#Generate_the_main_configuration_file
    https://wiki.archlinux.org/index.php/GRUB#Windows_installed_in_BIOS-MBR_mode

    gmail: [email protected]
    irc: [email protected]

windows37 grub224 dual boot21 Posts 2Views 1083
Log in to reply