LinuxQuestions.org
Review your favorite Linux distribution.
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 09-29-2013, 03:43 PM   #1
tecknovikingo
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Rep: Reputation: Disabled
Exclamation How to modify the grub ?


Hi greetings, My name is teckno I'm learning Linux, i would appreciate any help possible, thanks in advance.

Here is my problem:

I need to Modify the grub boot option adding a start option on devian (i have 2, the original and the recovery one).

Last edited by tecknovikingo; 09-29-2013 at 04:47 PM.
 
Old 09-29-2013, 05:21 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,175
Blog Entries: 1

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Hi tecknovikingo

If you are using grub2 this page should help
https://help.ubuntu.com/community/Grub2
http://www.dedoimedo.com/computers/grub-2.html
 
Old 09-29-2013, 07:17 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,990

Rep: Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448
Quote:
the grub ?
anything like "the stig"

what OS is this ?
and what version of GRUB ?
the legacy 0.9 or the current 2

Quote:
adding a start option on devian
adding a couch ( 3 person or two person"love seat" ) will be fun

but if you are referring to "Debian"
the instructions will be VERY different for the legacy grub or the current grub2
 
Old 09-29-2013, 08:11 PM   #4
tecknovikingo
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hey thanks for commenting guys, i really appreciate it.
i'm searching for the way to add a new start option in the menu of the grub loader, where the users choose the system that they want to use. up to now i have 2 start options, the regular one (devian os) and the recovery one (devian too), what im searching for is to add one new start option of devian (a copy of the original) to practice. i know that this can be created editing the grub.cfg file but no more. if you know the way to make it, please share your response with me, thanks.
 
Old 09-29-2013, 08:34 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,990

Rep: Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448
again
what operating system are you using and what version

the version of the OS will help us to know WHAT VERSION OF GRUB you are using
the instructions for grub 2 are VERY VERY DIFFERENT than the instructions for grub legacy
 
Old 09-29-2013, 08:50 PM   #6
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 7,680
Blog Entries: 10

Rep: Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080
The recovery console is usually not meant for users.
Did you perhaps mean Debian?

Do you have more than 1 Linux installation that you'd like to present to your users from a grub menu?

Please clarify.
Thank you.
 
Old 09-29-2013, 09:59 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,690
Blog Entries: 12

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
If I understand correctly, you want to use Grub to start a "copy" of the installed Debian OS for practice in such a way that, if you break it, it won't affect the existing install.

That would be asking Grub to do something it's not designed to do. It can't boot a copy of an installed OS into a sandbox of some sort. You can created a second pointer to the existing Debian install, but it will still boot the existing OS, not a sandboxed copy of some sort.

If you have enough RAMs, the best way to set up something for practice is to create a Virtual Machine using VirtualBox or some other virtualizer. That way, if you break the VM, you can simply delete it and start over.

Alternatively, you make your computer dual-boot by installing a second OS, but a VM would be the best way to go.
 
  


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
Modify grub kususe Linux - Newbie 1 11-03-2010 04:48 AM
How to modify GRUB options Jose Rivas Fedora 1 03-28-2007 02:06 PM
Modify grub.conf DanielTan Linux - Newbie 9 01-02-2005 12:35 PM
How to modify grub.conf george_mercury Linux - Newbie 1 06-14-2004 10:16 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 10:16 AM


All times are GMT -5. The time now is 11:32 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration