Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

rescue grub

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
cbuffer



Joined: Thu Nov 01, 2007 12:04 am
Posts: 67

PostPosted: Sun Jun 01, 2014 12:34 pm    Post subject: rescue grub Reply with quote

I recently re-organised partitions and ended up at rescue grub on rebooting.

I have changed the fstab to accord with Gparted reports on the partitions and changed the /dev/sdaX and (hd0,msdosX) values in the boot config file.
But when re-booting I still have to set prefix and root to the correct (hd0.X) values. All the examples of grub building shew "for example (hd0,msdosX)"

Since I no longer have an MS partition and boot is in the linux / directory should I change all the (hd0,msdosX) points in the config file to (hd0,X)?

It seems the obvious solution but I hesitate in case grub is somehow tied up with msdos.

TIA Ken
Back to top
View user's profile Send private message
johnhudson
LXF regular


Joined: Wed Aug 03, 2005 2:37 pm
Posts: 870

PostPosted: Sun Jun 01, 2014 10:04 pm    Post subject: Reply with quote

Grub is not tied up with msdos; if you
Code:
info grub2
you will find that hdX refers to the hard drive (starting from 0) and msdosX refers to the partition (starting from 1) where msdos1-4 are primary partitions and msdos5 the extended partition.

Note that (hdX,msdosX) must be enclosed in parentheses.

Check that your grub scripts are correct - presumably, if grub is launching rescue, something must be wrong.
Back to top
View user's profile Send private message
roseway
LXF regular


Joined: Thu Jan 18, 2007 2:27 pm
Posts: 445

PostPosted: Mon Jun 02, 2014 7:32 am    Post subject: Reply with quote

This was written some time back now, but still provides a lot of detailed information on using Grub2: http://www.dedoimedo.com/computers/grub-2.html
_________________
Eric
Back to top
View user's profile Send private message
cbuffer



Joined: Thu Nov 01, 2007 12:04 am
Posts: 67

PostPosted: Mon Jun 02, 2014 5:49 pm    Post subject: Reply with quote

roseway wrote:
This was written some time back now, but still provides a lot of detailed information on using Grub2: http://www.dedoimedo.com/computers/grub-2.html


After spending a few hours with that and trying to set up a new boot partition I now get 1234F: after booting. All the refs I can find need to use a usb connection which I don't have - part of the reason I'm in this mess. Any idea how I can get my bios repaired to enable usb booting! Samsung tech help don't respond.

Ken
Back to top
View user's profile Send private message
cbuffer



Joined: Thu Nov 01, 2007 12:04 am
Posts: 67

PostPosted: Thu Jun 05, 2014 9:48 am    Post subject: Reply with quote

Quote:
Any idea how I can get my bios repaired to enable usb booting! Samsung tech help don't respond.



Spoke too soon. Samsung are on to it.

Ken
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast