also @ TechSpot: Disable Windows automatic check for solutions after a program crashes
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > Operating Systems & Software > The Alternative OS

The best way to reinstall Grub bootloader

Reply
Bookmark Thread Tools
  #1  
Old 3 Weeks Ago
TechSpot Member
 
Member since: Dec 2004, 60 posts
The best way to reinstall Grub bootloader

I have a dual boot rig. Xp and Open Suse. I had periodically been receiving an error code 18 and grub will not load, and the OS won't boot to either. If I understand correctly, I need to reinstall GRUB as a boot loader. Does anyone have suggestions? I saw one site that said Legacy Grub is no longer being developed and to use Grub 2. Which is the preferable method?

If I can get pointed in the right direction I'd appreciate it.

Photo601
Reply With Quote
  #2  
Old 3 Weeks Ago
jobeard's Avatar
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 7,930 posts
Issue with Linux is the kernel must be installed below cylinder 1024; nothing to do with GRUB per se. The BIOS is used to load the kernel, but once Linux is started, BIOS is
not use anymore and only Linux code is used to access the HD.
Error 18: Selected cylinder exceeds maximum supported by BIOS
This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB on others.). In more practical terms this means the BIOS is unable to start executing the kernel because the kernel is not located within the block it can access at boot up time.

This can be circumvented by creating a boot partition at the beginning of the disk that is completely within the first 1023 cylinders of the harddrive. This partition will contain the kernel.


Use a product like Partition Magic to
  • create the first partition for Linux use(#)
  • Then place the swap partition following it.
  • the Windows {xp,vista, ...} then follow
note:# The kernel is in the / (ie root) partition. Users can be place in another
partition which gets automounted at boot time ( mount point /home ) and it can be
way up at the top of the disk (ie after Windows).
Reply With Quote
To remove this ad, sign in. To register for a new account, click here.
  
  #3  
Old 3 Weeks Ago
WinXPert's Avatar
TechSpot Member
 
Location: Philippines
Member since: Oct 2009, 262 posts
System specs
Some info. Do XP and Suse occupy the same drive. How are your drives partitioned.

I don't know if this applies to Suse Issue with Linux is the kernel must be installed below cylinder 1024. I did not have problems dual booting XP/Puppy or XP/PCLinuxOS even if the Linux Partition is at the end of a 200Gig HDD. This is how I set it up, I placed the grub bootloader on MFT rather than the start of the superblock of the Linux partition. I use Grub bootloader config and install GAG. Try also LILO.
Reply With Quote
  #4  
Old 2 Weeks Ago
TechSpot Member
 
Member since: Dec 2004, 60 posts
jobeard,

XP and open SUSE are on the same hard drive, yes.

When I installed Linux, I created a boot partition to install Linux to, then an empty partition after the boot partition for the swap. Then I installed XP.

If I understand correctly, I should re-install the boot partition and the swap partition? Will I then need to reinstall Linux?

Photo601
Reply With Quote
Reply

Tip: Download Advanced SystemCare 3 Freeware - 1 Click A Day to Clean, Repair, Protect & Optimize your PC.

Thread Tools


Similar Topics
Topic Category Replies Last Post
XP/Server 2003 Bootloader issues Windows OS 3 04-16-2009 04:40 AM
Editing the GRUB bootloader The Alternative OS 2 05-07-2006 09:20 PM
Rewriting Linux bootloader The Alternative OS 5 06-17-2005 09:08 PM
ok.....well what if i have to reinstall XP every week? grub boot ldr screwed? The Alternative OS 7 04-04-2004 01:10 PM
OS Order in Mandrake's Bootloader The Alternative OS 4 03-16-2003 11:49 AM


All times are GMT -4. The time now is 07:55 AM.