LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-04-2007, 05:20 AM   #1
deretsigernu
Member
 
Registered: May 2007
Distribution: Slackware 14.2/-current
Posts: 185

Rep: Reputation: 13
editing in GRUB


i ran into a problem yesterday with GRUB that i hope there is an explanation for.

i was working at my laptop in Ubuntu (its also has MS and openSUSE installed on it) and then went to eat, so it sat idle for a while and then went into suspend or hibernation or whatever. before leaving the computer, i had been trying to chmod a directory without success. when i returned, i hit the power button to start up, as usual.

the GRUB options screen came up, but none of my partitions would load. i was getting an "Error 15 file not found" for the SUSE partitions and an "Error 17 can't mount the selected partition" for the Ubuntu and MS partitions. i don't know what 15 means, because i don't know what file it refers to. and i didn't know why any partitions couldn't be mounted because i hadn't messed with any partitioning recently.

after fumbling around with GRUB Super Disk (what a savior!), i was able to get everything pretty much working again. somehow, my /boot/grub/menu.lst file on Ubuntu was edited. a couple of lines of the MS partition information were removed, which was why it wouldn't work, i guess. the Ubuntu partition info saw a line changed to (hd0,0) when it was supposed to be (hd0,6) and the old kernel i had for Ubuntu, which had been edited out of the GRUB startup menu, had been uncommented, so it showed up in the GRUB startup menu again.

sorry for the long post, but here is my question: how did all the things in the previous paragraph happen? i wasn't anywhere near /boot, let alone GRUB, when i was most recently logged into Ubuntu. is there some kind of explanation for how GRUB got edited without me doing anything to it?
 
Old 09-04-2007, 05:45 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Files don't edit themselves, so if you're sure you didn't do anything about it, you might want to check out if there have been unwanted visitors at your pc, either locally when you were away or trough network.
 
Old 09-04-2007, 07:12 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
We may never unravel this, but keep in mind that--with multiple Linux installs--you can wind up with more than one version of menu.lst
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DualBooting with GRUB ; Need Help Editing GRUB blooperspree Linux - Software 2 11-04-2006 11:23 AM
Grub Editing hoe Linux - General 2 11-07-2004 06:45 PM
Editing Grub onelung02 SUSE / openSUSE 3 10-27-2004 03:45 AM
Editing Grub Permaximus Linux - Newbie 9 09-22-2004 09:14 AM
editing grub pcmatt Linux - General 7 11-21-2002 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:24 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