Ubuntu Installation :: Experts - Please Grade My 40_Custom Grub Script
Feb 9, 2010
Related to my last post.
This post was me trying to get GeeXboX working on my computer.
I had no idea how to edit GRUB2 and initially posted my first effort below:
#!/bin/sh
exec tail -n +3 $0
menuentry "GeeXboX 1.2.4 for x86_32 (PC, MacIntel)" {
set root=(hd0,5)
linux /GEEXBOX/boot/vmlinuz root=/dev/ram0 rw rdinit=linuxrc root=UUID=d46e2773-aba9-41b3-a36b-fc3a6710a474 lang=en keymap=qwerty splash=silent quiet
initrd /GEEXBOX/boot/initrd.gz
}
View 1 Replies
ADVERTISEMENT
Oct 6, 2010
I forgot that i was in the middle of updating to 10.10 when i shutdown my computer. the computer froze and the screen said that it was in low graffics mode. after a while i shut down the computer by using the power button on my case.
When i try to start my computer i get thru bios and then i get a message that reads.
The computer stays that way until i hit the power button and the it says.
It repeats that about 30 times and then says
Then nothing happens.
View 4 Replies
View Related
Aug 20, 2011
What is the best way to down grade from U10.10 to 10.04?
I want the LTS that U10.04 has but I have U10.10 installed, I really don't want to lose what I have in my home but it can be formated if need be.
Would I still have all my info and settings if I just formated root, and installed U10.04? Or would there be a lot of left over settings?
View 5 Replies
View Related
Jul 25, 2011
I am in the process of enabling Samba client and server on my opensuse 11.3 32-bit workstation, and have just looked at the firewall rules (via iptables -L) prior to enabling these applications.I have used iptables a lot before and despite having my network interface defined as being in the External Zone (ie the least trusted, and therefore supposedly the most protected), the first rules in iptables are as follows:
INPUT
target=ACCEPT, prot=all, source=anywhere, dest=anywhere
OUTPUT
[code]....
View 3 Replies
View Related
Nov 26, 2010
I have a dual boot system with Windows 7 and Ubuntu 10.04 and have been been playing around with GRUB2 in order to customize the boot menu (background image, less menu item, etc). I've been successful in doing some things but my 40_custom file in my grub.d folder is missing! Here is what happens when I try to update my grub:
euri@euri-HP-6730b-FN021UT-ABA:~$ sudo update-grub
[sudo] password for euri:
Generating grub.cfg ...
[code]....
View 2 Replies
View Related
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
Oct 9, 2010
I am very new user to ubuntu and new to this community,first of all if i make anything wrong in this post please forgive and guide me,
My friend have a laptop which was running in windows 7.Last week he installed Ubuntu 10.04 Lucid Lynx.But after that boot menu is not showing and it is automatically booting to ubuntu.
So i pressed Shift key during boot and checked boot menu list,which is showing only linux OS ,Linux OS recovery mode and memtest86,No windows 7 option.
So I did following things.
Step1: Tried to find out the partitions using fdisk -l
2.So i tried to add a manual entry by editing the /etc/grub.d/40_custom file like below ,and changed the permission using chmod +x update-grub command
3.Run the update-grub command
But it is not updating the manual entry,The above update-grub command output showing the update-grub command not even entering into the /etc/grub.d/40_custom file because i put echo in that file in that ,and that also not coming.
View 9 Replies
View Related
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).
[Code]...
View 9 Replies
View Related
Dec 16, 2010
I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:
[Code]....
View 9 Replies
View Related
Mar 4, 2011
I have 2 hard disks. sda,sdb
In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].
In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.
I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD
Chose advanced istall
Selected sdb3 for Ubuntu
I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted
I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.
Boot Info:
Code:
Boot Info Script 0.55 dated February 15th, 2010 [code]....
ls: reading directory sda6/: Input/output error
I have tried the testdisk/update-grub method, but it didn't work.
View 9 Replies
View Related
Mar 26, 2010
So my computer has ubuntu 9.10 installed 1st and I want to install win 7 in a separate partition. Basically, ubuntu 1st, win 7 later so far from what I learned from search results, grub 2 have problem with win 7 installed later and what was recommended was install win 7 before ubuntu. how ever I do not have the time to start over again because there are too many things to back up or install again. can I simply revert grub 2 to grub 1 again and resolve the problem?
View 7 Replies
View Related
Apr 11, 2010
First the hard data:
Upgraded from Ubuntu 9.04 to 9.10 via upgrade manager
System is AMD 64
Have dual boot with XP on seperate hard drive
[code]....
Then the wheelspin:
Seem to have knocked out GRUB as normal loading screen does not appear anymore.
Worse, I think I accidently installed grub to something labelled SDC5.
Cannot get anything except the "grub rescue" prompt. I'm not sure if using the LiveCD (9.10) can help. Have tried a few prompts from other threads but just ended up with mud splattered all over the place. I'm gathering I need to load grub, but can I do it using any grub rescue commands?
View 9 Replies
View Related
Apr 22, 2010
installed windows 7..then tried restoring grub using live cd....mounted partition somewhere else....then installed ubuntu again where it was installed previously and now grub is not detecting windows 7 but i am able use my windows files
used sudo update-grub2.
View 9 Replies
View Related
Jun 22, 2010
If I use the super grub disk I can get to my ubuntu partition otherwise my windows partition boots automatically. I spent over an hour in the community documentation using the live cd to reinstall grub and nothing has fixed it. I think that grub is installed and the windows bootloader is just taking precedence.
View 3 Replies
View Related
Dec 10, 2010
I have ubuntu 10.10 running on my HP dv5 pavilion laptop So today i tried to reinstall grub on my pc .. i removed grub-pc and grub-common using synaptic then booted up with a live cd of ubuntu 10.04 i then mounted sda11 to mnt using sudo mount /dev/sda11 /mnt sda11 being my ubuntu directory containing the /boot then i installed grub to it using sudo grub-install --root-directory=/mnt /dev/sda it reported as installation finished.No error reported then i unmounted /mnt and checked for /boot/grub/grub.cfg seems like the file is missing so are the files in /etc/grub.d/ reinstall my grub back
View 9 Replies
View Related
May 24, 2010
I do not know what to do, i cannot load windows partition. it just loads grub again. this must have been something that happened when i upgraded to the 10.04 or w/e. can someoen help me out with what i can do to stop this or fix it. maybe i can reinstall but i want to know what will work first, i do not have a lot of time to fool with my computer like this again. i spent a week getting ubuntu on my computer the first time so i do not ever want to spend that much time again especially in finals week. !
View 1 Replies
View Related
May 31, 2010
I was installing command-line-only version of Ubuntu from alternate cd. I already have an existing standard Ubuntu installation on a separate partition. Both installations share the same /home partition. When asked to choose the /boot partition, I provided the /boot partition that was used by my previous standard installation. Now that installation has finished successfully, when I try to boot, GRUB only points to the later installation (no X). Is there a way to point GRUB to my first installation as well?
Here is my partition scheme:
I have not upgraded to GRUB 2 from legacy yet.
View 2 Replies
View Related
Sep 21, 2010
I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
View 3 Replies
View Related
Jan 17, 2009
I am trying to install my laptop in a triple-boot configuration with Fedora 10, Windows XP and Windows 7 beta. I did already installed them in that order. This is how it is layed out on the harddisk:
Now i want to use grub to present a menu at boot so i can select an OS. Because I installed XP last it boots straight into XP. I've understood i should be able to do the following:
All goes well until the last step (grub-install). It gives an error stating that /dev/sda doesn't exist, which is correct; It doesn't. I do have the "device" listed outside of the chrooted environment.
My question is: How do I get /dev/sda available in my chrooted environment?
View 3 Replies
View Related
Jun 2, 2011
I had Fedora 14 (x86) and Windows XP with Grub Legacy (Grub) for dual boot in my desktop.
I installed Debian and Grub 2 replaced Grub in the MBR.
Must I reinstall F14 to recover Grub as bootloader or is there another lighter way to do it?
View 3 Replies
View Related
May 25, 2010
Is fedora 13 using GRuB 2 or still uses GRuB legacy?
View 8 Replies
View Related
Mar 27, 2010
I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster. I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have. To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID. From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs). [URL]
If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error: $sudo grub-install --root-directory=/mnt/ /dev/md0 Invalid device 'dev/md0'
Obviously, neither case fixes the problem. I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option.
View 4 Replies
View Related
Nov 23, 2010
I have a dual boot system with ubuntu 9.10 x64 and Windows 7. Everything has been working fine for a a long time but yesterday I tried to delete an unused partition through the Disk Utility in ubuntu (System->Adminstration->Disk Utility) and everything was messed up. I used to get the "Grub error: Unknown filesystem". I managed to create an ubuntu bootable usb and followed some tutorials for fixing grub but all i managed to do is to get another error: "Grub error: No such disc". After some experimentation i got
"Grub stage 1.5" which gave me a grub> command prompt./dev/sda is the drive containing Windows and Ubuntu.
Code:
[ Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #6 for /boot/grub/stage2 and /boot/grub/menu.lst.
[code].....
View 5 Replies
View Related
Nov 16, 2010
I have a laptop with windows vista installed on the internal hardrive.Last March I installed wanted to start to use linux so I brought a separate external hardrive partitioned it to enable media storage on one section and installed ubuntu on the other half. It works fine and so does the windows vista on my internal hardrive, however I have to have the hardrive plugged in to boot.Until now this hasnt bothered me, however I've recently started to take my laptop into university and cannot switch it off unless I have the external hardrive with me as I cannot switch it on without it.With it plugged in it loads up GRUB and then gives me the option to load either Ubuntu or windows vista, however if it is not plugged in when I power up it says GRUB loader failed.It also occured to me that if for some reason my external hardrive fails in the future I wont be able to use my laptop anymore.Has the installation of ubuntu (and GRUB) altered the MBR?
Is there some way I can edit the settings so that I can load windows vista without the hardrive plugged in, and then if it is plugged in I get the choice which one to load?
View 6 Replies
View Related
Jan 6, 2010
I would like to know if there is any differences on how to install and to configure GRUB 2 in the different architectures (BIOS/IBM PC-Compatibles, EFI/MacIntel and Corebbot)? Does the Ubuntu installer automatically recognize the different architectures and install the appropriate GRUB 2 package ('grub-pc', 'grub-efi' or 'grub-coreboot' according to the arch)? Or does it just install 'grub-pc'? Is the location of GRUB 2's configuration files different depending on the arch of the computer? Or are they all located in '/boot/grub/', '/etc/grub/default' and '/etc/grub.d/', no matter the arch of the computer? Are the files' structure and options to configure GRUB 2 ('/etc/grub/default' and the scripts in '/etc/grub.d/') different depending on the arch of the computer?
View 3 Replies
View Related
May 19, 2010
I just (for the first time ever) installed a version of Ubuntu. It is 10.04. I installed off of the Live Disk. I was having a great time until the first time I went to boot into it and I got the message
"Error: No such device: "long number" Grub Rescue> "
[Code]...
View 3 Replies
View Related
Nov 20, 2010
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
View 4 Replies
View Related
Feb 22, 2010
i've been using ubuntu with wubi, and I'd like to install it on my new hard drive (so windows is on one hdd and ubuntu is on another). afaik, grub will be installed on the hdd w/ ubuntu, and i have to set it to recognize the other (windows) hdd. assuming that i want to get rid of ubuntu and just use windows, what steps do I have to take to do so? (if grub is only on the ubuntu hdd, then would I just have to format it?)
View 2 Replies
View Related
Mar 17, 2010
When doing a routine update to GRUB, it asked me what drive/partition I want it installed on. When I clicked enter to pass the OK message, the update manager froze momentarily and then it passed the selection page, saying "Warning: Installing GRUB to a partition other than the MBR is not recommended"
How can I fix this?
View 1 Replies
View Related
Jul 10, 2010
I installed 10.04 clean on the PC.Not other operating system.It booted to Ubuntu fine after the install and all appeared to be working fine.Used the upgrade manager to install the upgrades to the basic system.I had not yet loaded in any non-ubuntu or medibuntu repositories so this was the first, basic upgrade.After the upgrade,I can no longer boot to Ubuntu but boot to a grub prompt instead.I presume this is a recover prompt. How do I "recover" and continue booting to Ubuntu?
View 8 Replies
View Related