Re: GRUB discussion -- virgin disks ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Case wrote:
Hi Jacques et al;



If I have just installed a new drive on a new machine, how do I
configure the drive (before partitioning) so that it has a MBR.  Suppose
I am offering customers an option of Operating Systems that will be
installed after they make their choice of systems.  At that time I will
install the appropriate partitions and file systems.

Can I put a MBR on a drive without formatting the rest?

The first sector is the MBR. Whatever is there is what the system will try to use: sensible BIOSes will reject it if the MBR is invalid (for some value of all terms).

To ensure it's invalid, this will do it to /dev/sda:
dd if=/dev/zero of=/dev/sda count=1

I'm not sure it's a very useful thing to do though.


Note, Jacques, that /dev/null doesn't do anything useful here:-)

fdisk, when partitioning, will write an MBR with no boot code.

grub and lilo (re)write the boot code when installed. Windows XP also has the ability to write its boot code after partitioning, and if suitably desperate I'd find out how again:-)




--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-list

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux