LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2004, 10:25 AM   #1
skorchio
LQ Newbie
 
Registered: Jul 2004
Location: dublin ireland
Posts: 1

Rep: Reputation: 0
Question dysfunctional bootloader


Evening all,

My system runs XP pro and Mandrake 9.1, dualboot with the grub bootloader. I recently used Partition magic to create a new partition (logical) for windows data on my drive. It was doing its thing, so I left the machine to its devices. When I came back, its in a screen with a

grub>_

prompt. Apparently minimal BASH line editing is supported at this level. I suspect the grub loader can no longer see its boot paths. Is it possible to configure the bootloader from this prompt? I'm working up a remote river in Malaysia, and I have no rescuedisks of any description. A bit like up the creek without a paddle

Any bootloader advice would be appreciated
Cheers
Irish Geoff
skorchio@hotmail.com
 
Old 07-26-2004, 11:51 AM   #2
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Ok, actually, the procedure for booting from there is quite simple:
Code:
grub> root (hd0,0) // Comment: replace 'hd0'(equals to hda) with the drive containing '/boot' is(hd0,hd1 etc...)
grub> kernel /kernel-xxxxxx root=hdb5  // Comment replace with your kernel's name like so /da-kernel
// Comment: the 'root=hdb5' part is optional, it's the location of '/'
grub>initrd /initrd-of-death // Comment: If you have one
grub>boot
Now, you have to find out your partitions' new numbers... hehe


I hope this helps

Last edited by lokee; 07-26-2004 at 12:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 10:55 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
bootloader dead_angel Linux - Software 3 08-01-2005 09:57 AM
Running Mandriva makes network adapters dysfunctional in XP andeity Mandriva 5 05-09-2005 02:38 PM
I need create bootloader. How make bootloader? swipple Fedora - Installation 3 01-23-2005 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration