File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Ubuntu server and GRUB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Ubuntu server and GRUB" Watch "Ubuntu server and GRUB" New topic

Ubuntu server and GRUB

K. Tsang

Joined: Sep 13, 2007
Posts: 3132

Hello all, I have tried out installing the Ubuntu Server on one of my old computers. At the end of the installation, there is that GRUB thing for the boot loader stuff. The actual installation goes fine. This is my question.

Suppose I now want to FRESH install Windows... But instead of just putting in the Windows CD I format the HDD. Now when I format the HDD with system files (eg boot with command prompt), I get this GRUB can't find (linux) partition error instead of loading the command prompt. So how to get rid of this GRUB partition and boot the command prompt?

I used Windows startup disk fdisk utility to delete/create partitions then format the drive. Apparently, the GRUB thing still exist. Any idea? Oh does Linux Server have a GUI because when successfully boot my server, i login and get the command prompt instead of a GUI like I expect?

K. Tsang JavaRanch SCJP5 SCJD OCPJP7 OCPWCD5 OCPBCD5 OCPWSD5 OCMJEA5 part 1 part 2/3
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

How are you booting your OS's if Grub can't find them?
Google gets a lot of hits for "remove Grub". I can't speak for any of them. You may want to just reinstall Grub (or configure it correctly, depending on how badly Windows screwed it up) and use it to decide between Windows and Linux.
Ubuntu Server does not have a GUI. Most enterprise-level servers run headless, that is, without a window system. Without an interactive user, a GUI would just take up valuable resources. If you want a GUI, you can install one. Here is one way.

[How To Ask Questions On JavaRanch]
K. Tsang

Joined: Sep 13, 2007
Posts: 3132

thanks joe. I will look into removing grub first.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Windows installers have a long history of nuking the volume descriptor, which includes the boot program, which is why we usually recommend installing Windows first, then Linux.

You can install grub on a dual-boot system and then the set it up to boot Windows and Linux. Windows requires a somewhat awkward chain-loading boot process, but people do it everyday. The Windows bootloader, is alas, not as flexible, which is why there's the need to replace it with grub.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Ubuntu server and GRUB
It's not a secret anymore!