LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-23-2011, 09:22 PM   #1
red40y
LQ Newbie
 
Registered: Aug 2010
Location: va,usa
Distribution: ubuntu/edubuntu
Posts: 15

Rep: Reputation: 0
add acpi=off radeon.modeset=0 to grub permanently


im trying to add "acpi=off radeon.modeset=0" permanently to the grub so when i boot my Ubuntu 11.10 i don't have to add this line each time. how do i go about this?
 
Old 11-23-2011, 10:18 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Have a read of this.
Add it to GRUB_CMDLINE_LINUX_DEFAULT (or even GRUB_CMDLINE_LINUX if you like).
 
Old 11-24-2011, 11:39 AM   #3
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Yes that is a good link.

The line needs to be added in your /etc/default/grub file if using the script generated menu entry.

This is from mine. Note that in the "default" line I have removed "splash". The line below has an added instruction string to generate the bootchart info, this is where I would put your entry.
Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=100
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="initcall_debug printk.time=y quiet init=/sbin/bootchartd ..."
You will need to, as root, run;
Code:
update-grub
to get this in your /boot/grub/grub.cfg file.

Another way to do this is a custom menu entry. I prefer these to the auto generated entries. You just stick it in your /etc/grub.d/40_custom file and save it as 06_custom (this puts it at the top of your screen menu) and run "update-grub". This is the one for the same install as the example above (the one I am on now).
Code:
echo "Adding Squeezy on sda7" >&2 
cat << EOF
menuentry "Squeezy on sda7" {
    set root=(hd0,7)
        linux /vmlinuz root=/dev/sda7 ro quiet initcall_debug printk.time=y quiet init=/sbin/bootchartd ... rdinitrd=/sbin/bootchartd
        initrd /initrd.img
}
EOF
The hard part about that is that you need to make sure that line wrapping is NOT enabled in your text editor when editing anything to do with the grub scripts.

The reason that I like those entries is that they never change, always boot to the newest Debian based kernel on the defined partition. By that I mean that kernel updates don't ever have to have editing to get them to work. The defined partition means that I could, for instance, install a new OS, say LMDE, on this partition and use the exact same menu entry with no changes at all.

The is called a symbolic menu entry by the good folks at the grub project.
 
Old 11-25-2011, 10:58 AM   #4
red40y
LQ Newbie
 
Registered: Aug 2010
Location: va,usa
Distribution: ubuntu/edubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
=) ty very much guys. i gots it now. yay
 
  


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
Unable to start X when booting with acpi=off or modeset=0 Krystah Linux - General 8 07-02-2011 07:43 AM
--current, radeon r300 segfault glxgears, glxinfo with radeon.modeset=0 on dual head Old_Fogie Slackware 1 11-29-2010 02:20 PM
add route permanently rithik_ghoshal Solaris / OpenSolaris 8 04-08-2008 03:10 PM
ACPI LCD permanently turns off when lid is shut Inspiron B120 yougene Linux - Laptop and Netbook 8 03-20-2006 02:23 PM
How do you PERMANENTLY turn off ACPI? Balarabay1 SUSE / openSUSE 6 03-16-2006 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:48 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
Open Source Consulting | Domain Registration