Ubuntu :: Grub.cfg Does Not Get Read Correct - Auto-removes Characters At Boot Menu

Mar 10, 2010

I have a problem with GRUB 2 that I hope someone here can help me fix. Every time I boot I get an error because GRUB deletes that last part of the initrd line in /boot/grub/grub.cfg.

So this:


Becomes this (notice the missing "c" at the end):


And the windows part is also broken:


If I add an extra character at the end of the line it get removed instead and then it works. But only until next time the grub.cfg is auto updated. The error is only there when booting. Reading the file every character is in there.

View 9 Replies


Debian Configuration :: Apt-get Auto-remove Removes Nothing

Aug 10, 2015

The apt-get autoremove command, I use Debian 8 for some time now and I often install a package, test it for some minutes and remove it then. I noticed that in most cases (if not all, I'm not completely sure) all the dependencies that were installed with the package (mostly libraries, of course) stay installed on the system when I remove the package.

And there is no output of apt-get that there are unnecessary pacakges which I can remove with apt-get autoremove. The autoremove command does nothing.Before I changed to Debian, I used Ubuntu and there all the dependencies are removed with apt-get autoremove when I uninstalled a package.My question is now, is this normal? if there are fundamental differences in which packages "autoremove" removes between Debian and Ubuntu?

View 4 Replies View Related

Ubuntu Installation :: Auto-run And Skip Grub 1.99 Menu After Upgrade?

Apr 30, 2011

This seems to be a strange problem, and I have searched high and low for answers. Since Ubuntu 10.04 I have been upgrading via LiveCD and had no problems, however after an upgrade to 11.04 I now have Grub 1.99 giving me a list of versions to chose from before the OS loads. Now, call me fussy, but I don't want this, I just want to turn on my PC and go straight into Ubuntu as it always has done. I have tried various fixes such as looking for old Kernals in Package Manager, but no old kernals show up! Same for Ubuntu-Tweak, nothing shows up when I click on clean kernals.

View 5 Replies View Related

Programming :: PHP Auto Removes Stale Sessions On It's Own But Doesn't Remove From MYSQL Table

Aug 24, 2010

I know PHP auto removes stale sessions on it's own, but that doesn't remove them from the MYSQL table. So I was gonna make a cron script that ran once every hour that removed any MYSQL shopping cart item from the table if the original session_id that created it does not exist anymore.

From my understanding a session_id is an "actual" file located somewhere on the harddisk (is it not? correct me if I'm wrong), so I was going to do a simple check for each item in the shopping cart to check for it's original session file, if it didn't exist on the harddisk, then simply remove it from the mysql table.

View 1 Replies View Related

Ubuntu :: Stop Hiding Boot Menu - Correct Entry In 40_custom

May 9, 2010

I am running ubuntu 10.4 only .

I assume to make the boot menu appear I have to add an entry into 40_custom file. Not quiet sure how to make that entry, or if it has to be positioned a certain way.

View 8 Replies View Related

Ubuntu :: Change GRUB Boot Order: No /boot/grub/menu.lst File

Nov 29, 2010

i am trying to change the boot order on the GRUB menu so that the countdown automatically starts on an older kernel. From what i can see all the solutions on the web want me to edit the /boot/grub/menu.lst file. The problem is that i don't have one. Someone also mentioned that if i don't have a menu.lst file then i should look for the grub.conf file. I don't have on of those either. The closest thing in /boot/grub is grub.cfg but that looks nothing like the descriptions i have heard of /boot/grub/menu.lst file

View 5 Replies View Related

Ubuntu :: Error In Dual Boot - How To Correct Grub

Jan 15, 2011

I was trying to install Backtrack - Ubuntu dual boot with ubuntu pre-installed. I created another partition for backtrack but now grub doesn't point to the correct file in order to start Ubuntu, and so only backtrack starts. How can I correct it? I am able to mount my Ubuntu Partition and the files at /boot/ (in the ubuntu partition) mentioned at menu.lst at /boot/grub/ on the backtrack partition seem to exist... Does anybody know what should I do? (e.g. point menu.lst to the /dev/sda1/boot/IMAGES or something?)

View 5 Replies View Related

Ubuntu Installation :: Restore Correct GRUB Boot Order After Removed XP Drive

Mar 11, 2010

I have an old Dell Dimension 4500 that, until recently, had 2 hard drives. One drive is running Xubuntu Koala and the other was running XP. I had set up Xubuntu to run LVM.

After needing XP again for a small project I tried reinstalling XP, got disk errors, took the drive out to just have Xubuntu, and now when I boot I get "Error loading operating system".

I have tried restoring GRUB from a Live CD with no help. Everyplace I look on the net talks about restoring GRUB after installing Windows on another drive. I'm trying to get GRUB working again after removing the XP drive.

View 9 Replies View Related

Ubuntu :: Grub - Lost My Windows Partition - Can't Find Menu.lst In /boot/grub

Nov 1, 2010

I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.

After "fdisk -l",

I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?

View 24 Replies View Related

Ubuntu Installation :: Grub Errors - More Than 1 Grub - The Change Does Not Appear In The Boot Up Menu

Dec 22, 2010

The first is I seem to have 3 GRUB installs. So whilst I update the one from my live session, the change does not appear in the boot up menu. I had installed 10.10 from a CD into a different partition (sda6), but that will not boot, so I have just deleted this and done another grub install and update. The kernel I am using has just been updated from 10.04 to 10.10 too, and it is this that I use and the Grub I have been working on (sda5).


View 9 Replies View Related

Ubuntu Installation :: When The GRUB Boot Menu Starts Up There Is An Option For Win 7 Boot But It Will Not Boot Windows?

May 2, 2011

I installed 11.04 after Windows 7. when the GRUB boot menu starts up there is an option for Win 7 boot but it will not boot windows. When that option is selected the screen changes colour for 2 seconds and then reverts to the GRUB menu. Ubuntu boots fine.I downloaded the Boot Info Script and ran it, the results are

Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================[code].....

View 3 Replies View Related

Software :: Grub Drops To Grub Prompt On Boot / But Can Use Commands To Find Menu

Jun 5, 2009

I've got myself the curious situation where, when I boot the system, I can get grub to start, but it always drops to the prompt.

I can run:configfile /grub/menu.lst

and this brings up the menu with no problems, and from there I can boot the system to either linux or windows. What I don't understand is why it wont go to the menu in the first place?As far as I can tell, grub/Kubuntu got confused when installing, as each of the hd#,# settings in the menu.lst have needed tweaking to let the system boot. (e.g. windows is actually hd0, but the original install had it at hd2. Likewise linux is on hd1, but the menu.lst had it at hd0). I've happily tweaked these to make the system boot, but would appreciate any help in convincing grub to actually load the menu without me having to use the prompt.

View 7 Replies View Related

OpenSUSE Install :: Commands Make System Boot To Grub Shell Instead Of Grub Menu?

Apr 17, 2010

I started another thread about this to get help booting into openSUSE after Fedora rewrote my bootloader and deleted all other entries. I managed to fix it but I never did find out why the following commands caused my system to boot to the grub shell instead of the grub menu.

root (hd0,3)
setup (hd0)

Can anyone explain to me why these commands caused my system to boot directly to a grub shell? It's as if there were no /boot/grub/menu.lst files for it to use, but after I got everything back to normal, the files were still there.

If it helps, this is how the drive was setup before and now, except Fedora was on /dev/sda4 and has since been deleted.

Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 263 13316 104856255 83 Linux
/dev/sda3 * 13317 14621 10482412+ 83 Linux

View 6 Replies View Related

Ubuntu :: Kernel Updates - No Auto Boot From Grub ?

Mar 27, 2010

I'm remote from my system and so have to wait 2-3 days before I can get access directly, but I've noticed that when the kernel updates automatically (or forced by me), the next reboot stops at the grub page awaiting confirmation of the kernel I want to boot. grub.conf doesnt seem significantly different from that of fedora (my previos distro for this machine) and even has the default lines and times spec'd, so I can't see what's holding it up. Any ideas how I can prevent this so I can have my system auto-updating the kernel AND safe to reboot remotely?

View 1 Replies View Related

Ubuntu :: DamnSmall Fails To Boot After GRUB Auto Setup

Jan 31, 2010

I installed karmic, then damn small linux - the DSL's loader would not recognize my xubntu automatically, so I got GRUB 1.97 on xubuntu and it recognized my DSL and added it to the menu with 3 alternative resolution options.

Now, xubuntu starts fine, but when I start DSL in any of the modes, I get the following output:

1. 'vga=normal is deprecated use gfxpayload=text before linux command' comes up in the same font as GRUB menu is displayed - but only for a split second, I had to video it to read it!

2. Uncompressing linux... ok, booting the kernel - similarly, disappears before you can read it, and the computer reboots.

Below are my /etc/default/grub and /boot/grub/grub.cfg.

Does all that mean I want to edit /boot/grub/grub.cfg even though I apparently must not?

NB I have some problems with my hard drive, I have to fdisk it a lot but that's probably because my laptop has a dead BIOS battery - I'm having to fdisk it every time I boot up etc. I'm a bit lost with this to be honest! Anyway, please forget the hard drive note unless you seriously suspect it's at fault for GRUB problems.



View 4 Replies View Related

Ubuntu :: Changing Boot Options \ Streamline Boot Screen/GRUB Menu?

Apr 18, 2010

I am trying to streamline my boot screen/GRUB Menu. I know what I want it to look like (grub_wanted.jpg), and I think I know how to get it by uninstalling a couple of things, (synaptic.jpg). Now I have too many items on the screen, and it looks cluttered to me (grub.jpg).

View 3 Replies View Related

Ubuntu :: GRUB Boot Menu At The Start Like Any Other Dual-boot System?

Jan 28, 2011

I've installed Ubuntu on my new desktop alongside Windows 7 (each OS is on a separate drive), I seem to have run into a small problem. Let me start with what I did:

- Unplugged 1TB drive from the PSU, BIOS was not seeing my formatted (and thus empty) 500GB drive and I couldn't put it into the boot order at all with the 1TB turned on.

- Loaded up the boot CD and was able to install Ubuntu 10.1 on my 500GB drive.

- Did a bit of configuring, shut my PC off and plugged my 1TB (with Windows 7) drive back in. I tried to see if I could now see my Ubuntu drive in BIOS but nothing is there - just the Windows drive is in the list of available drives to boot from (along with DVD-ROM and USB).

This is where I've run into my problem. What I want is to have a nice GRUB boot menu at the start like any other dual-boot system but just have the two operating systems on separate drives altogether.I did it this way because I was having issues with the advanced partition menu on the boot CD so just went ahead and followed the KISS method by unplugging the Windows drive.

I was told by a friend that if I put my Ubuntu drive into the first position in my boot order and the Windows drive in the second, then I could boot into Ubuntu and run a GRUB update command (he told me to google it) and that would create the necessary GRUB that had the entries for Windows 7 and Ubuntu.Both operating systems are 64-bit, I imagine that might make a difference in whatever help you guys can offer me. I love the hell out of both OS's and want to be able to use them interchangeably.

View 5 Replies View Related

Ubuntu :: Missing Grub And Dual Boot Menu - Windows Won't Boot

Jul 3, 2011

i am having a problem with my dual boot setup. I originally installed windows XP on a 100gb hard drive, from there i downloaded and burnt ubuntu off so i could install it on my 200gb hard drive. For a little bit i struggled to even get it to install because it wouldn't recognize my onboard nvidia graphics, i ended up having to get an alt boot disk and fix it with technique in this link:


Now after the bios boot, my screen shuts off for awhile and takes me directly to the login screen for ubuntu. No Grub, no windows boot options, nothing. I tried booting windows by choosing it from the bios boot menu but all it does is hang at prompt and doesn't boot at all. I tried the live cd fix and reinstalled grub but nothing changed. What i think is happening is that it boots the Grub menu but it doesn't display it because of graphical confrontations. It hangs for about 10 seconds, the grub default time, and then turns my monitor back on to display the Ubuntu login screen.

View 8 Replies View Related

Ubuntu :: Dual Boot XP - 10.10 - Boot Screen Shows Up But Then Computer Restarts And Returns To The GRUB Menu

Dec 16, 2010

I followed a tutorial to install XP across my entire HDD. I installed Ubuntu 10.10 "Alongside another OS". Ubuntu loads fine, but when trying to load XP, the boot screen shows up, but then the computer restarts and returns to the GRUB menu.

I saw some threads on this site and tried to type: sudo gedit /boot/grub/menu.lst

In the terminal. It returned a blank text document so I'm not sure if that information was outdated. I then typed: sudo fdisk -l

And got this:

Not sure what any of this means, but I sure hope someone else does. I would say forget XP, but it's hard to let go of some of the games and software I use. I appreciate any responses, thank you.

I tried to format the table as it appeared, but the forum corrected the extra spaces.

View 7 Replies View Related

Ubuntu :: Multiple Boot Options In Grub Boot Menu?

Apr 3, 2010

I'm a noob but enjoying dual booting. However, every time I run update manager I get a new vmlinuz entry and now I have multiple boot options in my grub boot menu. Now when I have like 5 ubuntu entries to move past to select Windows. and the latest Ubuntu is always at the bottom so I have to annoyingly scroll down to select the latest there. I don't really understand what the vmlinuzXXX entries in the boot folder are for so I don't want to delete them. I've thought about editing the loop in the 10_linux file in the grub.d folder but it looks like its calling a function or macro or something:

linux='version_find_latest $list'

But like I said, I'm a noob to all this (a .Net developer on Windows professionally) and don't understand where this is. It looks like this function call has the logic I need to fix. Because its not finding the latest, its just finding all. How to I get back to one Ubunutu boot option like when I first installed?

View 4 Replies View Related

General :: Unable To Boot Windows / Grub Error Saying GRub Loading Stage2 Read Error

Jul 8, 2011

I am new to Linux. I have installed RHEL 5.4 on my PC with preloaded Windows XP.

Windows was set as the first boot kernel. So if i do not choose which OS to be loaded it will load Windows by Default.

Today I got an error saying GRub Loading Stage2 read error.

View 9 Replies View Related

Ubuntu :: Menu.lst Not In /boot/grub?

Jul 25, 2010

My girlfriend has installed Ubuntu, but does not find the menu.lst file in /boot/grub folder, even though she has run 'sudo update-grub'. When she types 'grub' however, she gets told that she does not have grub installed.

View 5 Replies View Related

Ubuntu :: No Grub Menu Appear At Boot?

Oct 7, 2010

have problem with grub 2, boot menu doesn't appear at all.

I have lvm on my disks:
/dev/sda1 - /boot
/dev/vgroup/root - /
/dev/vgroup/swap - swap

and here is /etc/default/grub:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

View 9 Replies View Related

OpenSUSE Install :: 11.3 Removes IBM Boot Manager Options?

Jul 21, 2010

Previous installation (11.1) left boot manager intact and I had three options on menu. Windoze, OS/2 and Opensuse. They all worked and if I selected Opensuse I then got a Grub boot screen with normal options from which I could start opensuse as usual.

New installation of 11.3 I selected MBR option but think I must have left grub as the boot method. I now boot into the grub screen but if I select OS/2 there is only Windoze left on menu and no OS/2.

What should I use to put back the booting to how it was? Can I use opensuse program to do it or should I use OS/2 partition manager?

View 1 Replies View Related

Ubuntu :: Booting From NForce FakeRAID - Hand Correct Grub.cfg After Update-grub?

Mar 5, 2011

I was unaware of the difficulties of installing and booting Ubuntu from the "onboard raid" that the NVIDIA nForce chipsets provide. However, I've managed to get it working reliably with one single caveat:

When update-grub builds the grub.cfg, it refers to all of my partitions as follows:

menuentry 'Ubuntu, with Linux 2.6.35-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/mapper/nvidia_caifaefg,msdos5)'


So I'm guessing that the whole nvidia_blah,msdos5 is because of that. However, it doesn't seem to explain why Grub would THINK that would work and it in fact does not work. That's the biggest source of confusion on my part.

My questions are as follows: First off, because as an IT person I want to know: Why does this sort of change work? What does changing that device name change in GRUB's behavior? Is there a setting in /etc/default/grub that would change the way it's naming these RAID devices? Is there a value for this setting that would give me the device names that work, as explained above?

If there is no setting change I can make in /etc/default/grub, could I add a sed command on to the end of update-grub or can I make a modification to one of the scripts in /etc/grub.d? What sort of change would be recommended? How would I preserve this change through later package upgrades that would possibly rewrite these files?

View 1 Replies View Related

Ubuntu :: Can't Find /boot/grub/menu.lst?

Feb 5, 2010

I primarily need to remove several listings from my boot menu. After many updates and upgrades the list is HUGE.I know you can edit the grub menu.lst file, but I don't have one.


And, I did read the guide on removing entries from grub 2. The problem is, some of the kernels in the current grub menu are no longer in synaptic on this install. Currently I have WinXP, Ubuntu 8.10, and Ubuntu 9.10 installed. I want to leave 8.10 installed, but not have it available in the Grub menu. How can this be accomplished? Grub 2 seems quite obtuse compared to earlier versions where there was a simple menu file

View 9 Replies View Related

Ubuntu :: Get A GRUB Boot Menu While Booting?

Apr 15, 2010

I'm relatively new to Linux and I am dual booting Ubuntu 10.04 LTS and Windows XP and I would like to edit my GRUB menu to allow me to choose Windows XP which is on a 2nd hard drive. But, I can find no menu.lst and there is no GRUB menu while booting up, my computer boots right into Ubuntu. So, how do I enable the boot menu so that I can edit it and use it?

View 3 Replies View Related

Ubuntu :: GRUB Menu Showing Every Boot Up

Apr 28, 2010

I am working with a acer netbook that I originally had WinXP installed on. I downloaded Ubuntu 9.10, transferred the iso contents to a bootable USB drive and installed Ubuntu. I remember during the setup process that I made sure I chose the option to install on one partition. There is only one partition on my netbook with a small second partition as a swap.

After the installation process and reboot I noticed the grub menu would pop up every boot up giving the list of operating systems of which XP was included. I then ran the update manager and updated 9.10 with all updates. After rebooting the grub menu again showed but the option to choose XP was now gone.

Now everytime I boot up the grub menu shows. How can I modify grub so it will automatically just boot to the OS.

View 7 Replies View Related

Ubuntu :: Disable Grub Boot Menu

May 5, 2010

I've just reinstalled 10.04 LTS, after my update from 9.10 to 10.04 made some weird errors. So everything is good now, the problems before were fixed by the reinstall.By the reinstall, grub2 were installed aswell. Before, I ran grub1 (I guess) and at bootup it didnt show the list of boot choices you have, like safe boot or other OS if you have multi boot. It just booted up and I could press ESC if I wanted the menu. That disapperead after I installed grub2, so how do I get this function back, I kinda liked it.

One more question, after the reinstall I setup the taskbar and by mistake I remove the sound control. How do I get this back, it's not in the "Add to panel" when I right click on the taskbar.

View 2 Replies View Related

Ubuntu :: How To Re-order The Grub Boot Menu

May 8, 2010

I have installed ubuntu 10.04 and kubuntu 10.04 on different partition (same hard drive). and window 7 on a different hard drive.

The boot menu order now is 1. kubuntu 2. memtest 3. window 7 4. ubuntu 10.04 kernel

I want to change to Code:
1. ubuntu 10.04 kernel 2. window 7 3. kubuntu 4. memtest

These are the files in my ubuntu /etc/grub.d:

/etc/grub.d$ ls
00_header* 10_linux* 30_os-prober* README
05_debian_theme* 20_memtest86+* 40_custom*

View 2 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved