LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2010, 12:22 PM   #31
Zuulie
LQ Newbie
 
Registered: Mar 2010
Location: London
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 1

Quote:
Originally Posted by fkasmani View Post
where is the "grub file" located?
It'll be: /boot/grub/menu.lst

(unless you've done some funky changes to your system)
 
Old 03-18-2010, 12:44 PM   #32
fkasmani
Member
 
Registered: Dec 2007
Posts: 178

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Zuulie View Post
It'll be: /boot/grub/menu.lst

(unless you've done some funky changes to your system)
it's not there and seriously, I've not done any "funky" changes.
 
Old 03-18-2010, 10:28 PM   #33
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Rep: Reputation: 38
you have looked in the right place for menu.lst, there are still a few options that i know of:

- you possibly have a newer version of grub and that one works different, i have modified mine once and successfully so assuming you make back ups of the files you will modify (as a root) go to /boot/grub/grub.cfg
now i am not a command line specialist but i think, assuming you are running gnome, this is a way to edit with root privileges:

sudo gedit /boot/grub/grub.cfg

you will be prompted for your password. if you are running kde then replace 'gedit' with 'kate'.

i copied a stanza from the bottom to the top so it would appear on top of the list when my system boots, and it works. here's a copy of the stanza for your perusal, the line up the top is like a reference where in the file i did this:

Quote:
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu 9.04, kernel 2.6.28-18-generic (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 16bbaa72-376b-43aa-bf84-029d7f5548b2
linux /boot/vmlinuz-2.6.28-18-generic root=UUID=16bbaa72-376b-43aa-bf84-029d7f5548b2 ro quiet splash
initrd /boot/initrd.img-2.6.28-18-generic
}

that is one way i know, the other way i stumbled across after i did this but it looked promising, you need to install a program named 'startupmanager', it is a gui based solution. you should be able to install that when using your grub superdisk to get into your system.
 
2 members found this post helpful.
Old 03-18-2010, 10:35 PM   #34
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Rep: Reputation: 38
I found the thread i mentioned much earlier in this thread about my problem with clones, it is worth a read, it also addresses the problem with UUID's
http://www.linuxquestions.org/questi...solved-715017/
 
1 members found this post helpful.
Old 03-20-2010, 01:57 AM   #35
fkasmani
Member
 
Registered: Dec 2007
Posts: 178

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by wabbalee View Post
you need to install a program named 'startupmanager', it is a gui based solution. you should be able to install that when using your grub superdisk to get into your system.
is it this one - http://startupmanager.org/
is there a linux version?
 
Old 03-20-2010, 09:29 AM   #36
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Rep: Reputation: 38
well i had a quick look at the site but that doesn't look anywhere near the startupmanager i was referring to. the one i mean can be found in your package manager (in the repositories and assuming you have enabled all the repositories in your package manager, possibly called synaptic but not sure, were you using Mint?) it is in the 'universe' repositories.

and yes that is a linux version, ubuntu linux in this case.
 
Old 03-20-2010, 11:50 AM   #37
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
Quote:
Quote:
Originally Posted by tallship View Post
i believe it's 446 bytes
512
...to clarify for me: Aren't the first 446 bytes the MBR and the next 68 bytes the partition table; or is the entire 512 bytes (including the partition table) considered the MBR?

Edit: Just realized the question I asked was about a post quite a ways back in this thread. Didn't mean to confuse or sidetrack anyone, but still curious.

Last edited by brucehinrichs; 03-20-2010 at 11:52 AM.
 
Old 03-20-2010, 12:47 PM   #38
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
Master Boot record = 512 bytes
448 bytes contain the primary boot code (stage1 boot loader)
The remaining 64 bytes contain partition table.

hope i am correct.

Last edited by saagar; 03-20-2010 at 07:02 PM.
 
Old 03-20-2010, 01:51 PM   #39
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
Thank you, saagar!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 09:19 AM
Moving linux partition from original hard drive to another, howto??? Fear58 Linux - General 22 02-15-2008 04:26 PM
Moving linux to second hard drive rjayaram Linux - General 10 09-11-2003 05:23 PM
Moving linux hard drive to primary slave flyboy320 Linux - General 4 01-23-2002 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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