09-18-2001
Older versions of windows (95,98,etc) had an undocumented switch for fdisk that would wipe out the boot sector for you:
fdisk /mbr
I have no idea if this still exists in current versions of windows (2k, nt). If not, find a 95 or 98 boot disk, boot into dos mode and run the command above.
BTW, this is a Unix forum -- how is this a Unix related question?
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have installed Win98 OS .......1st
then RH7.2
with GRUB bootloader okay
i.e in the Grub there is two choices 1-Linux
2-Dos
also I install bootloader of linux in MBR -master boot record-
when select Linux an error :
... (6 Replies)
Discussion started by: atiato
6 Replies
2. UNIX for Advanced & Expert Users
Hi there,
Can I install on the same Ultra10/Ultra60 machine 2 diferrent OS
Solaris8/9 and Linux(any version that would be possible) and choose the appropriate one at boot time ?
Have anyone done this ?
thnx,
GISMO (1 Reply)
Discussion started by: Gismo
1 Replies
3. UNIX for Dummies Questions & Answers
hi ... thanx for the advice last time ....
i have another query ....
now that i haf installed red hat linux version 9 i think ....i have allocated a free space to load windows.... but during windows xp installation ,
it does not recognise the free space to be userable for installing of the winxp... (1 Reply)
Discussion started by: kaya
1 Replies
4. Red Hat
Hello,
I have a multi-boot system with windows and openSuse. The boot loader is from Suse and the menu worked fine. Today I installed Scientific Linux and am having trouble with the boot loader. The SL install is on a different drive than the windows and Suse. As is typical, the SL installer has... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
5. Solaris
Hi
Just want to share....
Multiboot: winlinsos; June 2016
Lenovo x230, 4GB - No internal DVD driver
I have
# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O... (0 Replies)
Discussion started by: van12
0 Replies
6. UNIX for Beginners Questions & Answers
I want to install Slackware 14.2, FreeBSD and Solaris 10 on a p4 machine but multiboot is not working as lilo overwrites grub and btx boot loader can't detect others. I had to boot slackware and Solaris with the installation disc for a good number of times. I installed all boot loaders on MBR. The... (0 Replies)
Discussion started by: vectrum
0 Replies
7. UNIX for Beginners Questions & Answers
I want to install Slackware 14.2, FreeBSD and Solaris 10 on a p4 machine but multiboot is not working as lilo overwrites grub and btx boot loader can't detect others. I had to boot slackware and Solaris with the installation disc for a good number of times. I installed all boot loaders on MBR. The... (3 Replies)
Discussion started by: harveyclayton
3 Replies
LEARN ABOUT LINUX
installgrub
installgrub(1M) installgrub(1M)
NAME
installgrub - install GRUB in a disk partition or a floppy
SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device
The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader.
installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub
installs the stage 1 file on the master boot sector of the disk.
The installgrub command accepts the following options:
-f
Suppresses interaction when overwriting the master boot sector.
-m
Installs GRUB stage1 on the master boot sector interactively.
The installgrub command accepts the following operands:
stage1
The name of the GRUB stage 1 file.
stage2
The name of the GRUB stage 2 file.
raw-device
The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk
devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is
/dev/rdiskette.
Example 1: Installing GRUB on a Hard Disk Slice
The following command installs GRUB on a system where the root slice is c0d0s0:
example# /sbin/installgrub /boot/grub/stage1
/boot/grub/stage2 /dev/rdsk/c0d0s0
Example 2: Installing GRUB on a Floppy
The following command installs GRUB on a formatted floppy:
example# mount -F pcfs /dev/diskette /mnt
# mkdir -p /mnt/boot/grub
# cp /boot/grub/* /mnt/boot/grub
# umount /mnt
# cd /boot/grub
# /sbin/installgrub stage1 stage2 /dev/rdiskette
/boot/grub
Directory where GRUB files reside.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5)
Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always
boot the GRUB in the Solaris partition regardless of which fdisk partition is active.
24 May 2005 installgrub(1M)