Ubuntu Installation :: Editing Grub For Vmalloc?
Jul 26, 2010I want to edit a grub file, but none of the online instructions exactly match my files. I'm trying to follow the instructions to add vmalloc=256M to a grub file, from here:
[Code]...
I want to edit a grub file, but none of the online instructions exactly match my files. I'm trying to follow the instructions to add vmalloc=256M to a grub file, from here:
[Code]...
I have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the
Code:
i915.modeset=1
and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just
[code]....
I used to be a pro at editing Grub's menu.lst file so I could have my menu look clean, simple, and easy to read. Now that I have set up 10.04 (Working beautifully now after a couple setbacks) the menu.lst file is no longer where it used to be (/boot/grub/menu.lst)
How do I edit my boot menu now?
I am currently installing the Ubuntu 10.04 Alternative, as I am having problem with video card. What I know is that I need to edit the Grub file in /etc/default/grub and add i915.modeset=1 for my video card. What I don't know is how to do that in the command line, what application should I use and how to save it? Also, if everything works well, I want to boot to gnome automatically. What I am looking for is a step by step instructions (as I can get lost).
View 8 Replies View RelatedWould like to eliminate from the Grub menu of startup options all but the latest kernel update? Have made some attempts, but don't have authority is the message.
View 2 Replies View RelatedI am a new Ubuntu user, and I am attempting to set Windows 7 64 bit as my default OS in the boot loader instead of Ubuntu 10.10. I have entered the command gksudo gedit /boot/grub/menu.lst into terminal, and the menu.lst file does open. However, this file appears to be completely blank, which does not seem to make sense and is preventing me from changing the boot order.
View 4 Replies View RelatedAfter getting some updates like 3 days ago, I get this message: "minimal BASH-like editing is supported. For the first word TAB list possible command completions. Anywhere else TAB lists possible device/file completions. sh:grub>_
What do I do to boot my system? Previously I was able to select from the grub menu. But not in this case. Any suggestions. I have an XP system as well on the same hard drive. I used wubi to install Ubuntu 9.10.
I have a problem with booting my Ubuntu System.I have installed the new version of Ubuntu(11.04) next to Windows XP on my PC. When I restarted my PC I have selected "Ubuntu" from the boot menu. When I did that following massage arrived at my screen:"GNU GRUB version 1.99"rc1-13ubuntu3Minimal BASH-like line editing is supported. For the first word, TAB lists possible command complections. Anywhere else TAB lists possible device or file complectionsgrub> _"
View 7 Replies View RelatedI have grub 1.97 on carmic , with too many items in it. Start up manager , great for hardy and jaunty , is not working. What is the best way to remove unneeded items and change wait time for grub ?
View 5 Replies View RelatedI think this is the default view of GRUB2 as installed by some other OS, (I think Chameleon)... But even they must have done this by editing something in the original GNU GRUB 1.97. Is that possible to accomplish. If yes, how?
View 3 Replies View RelatedXubuntu: Grub Editing, Menu.lst not present
ver: 10.04 Lucid Lynx
performed update
Grub now features Redundant options upon boot
similar to the following
Ubuntu, kernel 2.6.32-22
Ubuntu, kernel 2.6.32-22 (recovery mode)
Ubuntu, kernel 2.6.32-21
[Code]....
I've just installed Ubuntu 10.04. In previous versions I could edit the grub menu (menu.lst). Where can I find the menu.lst or it's equivalent in 10.04 ?
View 3 Replies View RelatedI am trying to edit grub so that it doesn't timeout the menu. I've found a lot of solutions to this where I edit menu.lst. However, this file is blank when I open it. I just upgraded to Lucid and kept a lot of my old grub settings (I had customized it somewhat). Also, I am not sure if I have grub or grub2. How can I figure this out?
View 4 Replies View RelatedI have finally installed ubuntu 10.4 alongside windows 7.However, the grub doesn't show windows 7 so I can't boot into it.
Attached is a screenshot of "gparted". Windows 7 is installed on "sda2" and Ubuntu is on "sda6". How do I edit the grub to be able to load into windows 7?
And I faced another problem after installation. The pc kept freezing, I couldn't enter ubuntu nor use the live version on my usb stick. It kept freezing.
EDIT: I restarted and it froze again. I had to restart at least times before it allowed me into ubuntu. I'm wondering if it's a hard-disk issue since it's giving me a hard disk error whenever I login. Even though I've been running windows 7 for the past 9 months without any problem.
I'm trying to find out which hard drive my vista installation is labeled in ubuntu so I can finish editing the grub menu.1st file.
All it says on the sourceforge page is
Quote:
Root - You likely have something along these lines "(hd0,1)". "hd0" refers to the your hard drive while 1 points to the partition. Note that for GRUB, partitions start at 0 and not 1. for example 0=Partition 1, 1=Partition 2 and so on.
It doesn't say how I can find out which one my vista is. So I need to know what my hard drive is in linux. Is it hd0,1 or hd0 or what?
I'm interested in editing the Grub startup menu to take out some of the previous versions of Ubuntu. First, is there a reason Grub keeps the previous versions available to boot to in that list? If it is just in case of a problem with the new installation wouldn't it make sense to only have the most recent previous installation? Anyway here is the problem, when I run: Code: "gedit /boot/grub/menu.lst"
The editing program opens the file named "menu.lst" but the file is empty. How is it possible for this file to be empty yet I have multiple boot options and they all work? Does anybody know what I am running into here?
I just installed a fresh copy of Ubuntu, dual booting with Windows 7 on one partition, but I'm having problems with Grub. I think I put it in the wrong place when I installed it. At first, it would just boot into Windows. But with SuperGrub I could boot into Ubuntu.
This was the result of the boot info script:
Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> No boot loader is installed in the MBR of /dev/sda
sda1:
File system: ntfs
[Code]...
I had a dual boot with Ubuntu 11.04 and Windows vista. Upon upgrading to windows 7, i found my grub to be replaced, with windows boot loader. So i booted from a live USB with Ubuntu 11.04 and followed steps as follows.
1. Mounted the partition where i have ubuntu 11.04
2. mount | tail -1
3. sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda
4. Reboot
On rebooting, I find grub to open in terminal mode, and does not allow me to log in either in windows or in Ubuntu! All i get is a grub terminal [ Minimal bash-like editing is supported. For the first word, TAB lists possible completions of a device/filename. ]
During my several experiment on linux I accidentally put the default runlevel to the value 6..thus before starting its going to restart ..currently running mint 9. there is only one way that somehow i can edit that file from grub command line.
View 4 Replies View RelatedFirst off all, I'm booting from a large MEMDISK using PXE (900MB) . Due to our environment, I cannot decrease the size, nor move files to a nfs/iSCSI/... environment. Everything needs to be in that MEMDISK.
Now, when I try to run the OS, I get out of vmalloc space. How do I increase it to a number which allows such a large image to be mapped? I tried the parameter "vmalloc=1280M", but with that parameter, I don't get past the Booting the kernel screen.
Memory should not be an issue, since the machine(s) have at least 2GB RAM. (900MB MEMDISK + 256MB for other kernel stuff + 768MB for user stuff). The machine(s) have a Pentium 4 Extreme Edition processor, with hyperthreading and SSE2, but no EM64T.
How can I boot the system, and get past that message? Decreasing the MEMDISK size is not possible too. It is at the smallest we can get with our userland + kernel + modules.
Ubuntu didn't start up all of a sudden. It got error and stuck at : Minimal BASH-like line editing - Ubuntu Forums. I tried many ways suggested to go into menu mode but failed. I followed online solutions.. but none of them helped. I tried to list all partitions and I got this: ls
(memdisk), (hd0), (hd0,msdos), (fd0)
i tried
root (hd0)/boot , it said unknown filesystem
root (hd0,msdos)/boot, but it's a windows partition
root (f0)/boot, it said read error
The setup is dual boot with wubi, so i logged on to windows7 and installed partition magic, but i couldn't see the linux parittion, the whole harddisk is 500G, but only 2xxG is visible in NTFS. I used liveCD to boot the system, but when i run sudo fdisk -l, i didn't see anything. I have no idea why it happened, and the last successful log on was in Ubuntu, so i doubt it's due to windows update. I am going to try Solution #1 (10.04) in wubi megathread. Can anyone suggest what has actually gone wrong? WIll i able to recover the data in my linux parition given partition magic cannot see it?
I have to edit the grub.conf as there was a issue in running in virtual box, so i went to edit the /boot/grub/grub.conf file ( centos )and run
[Code]...
After my last update in my ubuntu, I had a problem. (As almost everytime that I update it)
When I select to boot ubuntu, it doesn't work.It shows something like:"GNU GRUB version 1.97"beta 4[ Minimal BASH-like line editing is supported.For the first word, TAB lists possible command completions.Anywhere else TAB lists possible device/file completions]
sh:grub> "And I don't know how to make it work.I tried to follow this tutorial:[URL]I got an error message saying that the file couldn't be found. And if I skip it, when I type "boot" the system reboots and comes to the same place I was before.
I've also tried to set another partitions like
Let's analyse this While registering a Char deriver to kernel think that we had allocated memory using any of malloc/kmalloc/vmalloc.
If we forgot to Free that allocated memory while unregistering, will that memory be allocated aside or kernel clears it...?
clarrify the below points:1) Where does the Kmalloc/Vmalloc/get_free_pages/malloc Allocates memory in which space is it Kernel/User?2) Coming to Hardware Point of View is where Kernel/User Space Memory Allocates is it in RAM or any.?3) In Device Drivers, how Open Call get to know whether the hardware is connected/not?
View 6 Replies View RelatedI have installed RHEL5, solved the problems around it and started to set up the GRUB. I have set the menu.lst with simple
rootnoverify (hd1,0)
mkeactive
chainloader +1
and tried to boot the Win7 on that partition. NO LOADER came up and since that moment
Grub is only in "Minimal BASH-like line editing" mode. I have tried all of I have googled, nothing have worked. There is a problem with even finding /boot/grub/stage2, or anything else, grub won't let me mount any partition. When I try to find any file, it says file not found. It is important to say that all I did to cause this was change in menu.lst
rootnoverify (hd1,1) to rootnoverify (hd1,0)m nothing else! There is no logic in this....
I installed Windows XP Pro and RedHat Linux Enterprise 5 on my PC for my purpose. The PC is used by other family members too and they need only Windows OS for browsing. It is becoming problem for them to reboot after the PC enters into Linux by default. I am still learning Linux and I want to edit the /boot/grub.conf file to make Windows as default OS to boot. The following is the content of my grub.conf file (FYI):
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
[code]....
Being able to reset the root password by booting into single usermode by editing grub. This is a MAJOR flaw. I know it makes no real difference against internet bourne attacks, but even so I must say I found it shocking. The only way I've found to stop this is to encrypt the entire HDD, so noone could get into single user mode without first knowing the encryption key/password.
View 14 Replies View Relatedi am having some issues with dual booting my SL6.1 and Windows. The situation is that i recently acquired an old hard drive from a non-working computer of mine with Windows already installed (i know the windows is functional, as i tested it on my new PC with SL6.1 currently installed & everything runs fine)
The problem is that after editing the grub.config to include windows, windows will no longer boot after an attempt to install a legit version of McAffee anti-virus software which coincidently was only after the first attempt at running both OS's in a dual-boot fashion. Except past the windows start up screen before the dreaded blue-screen.
Which is weird because SL6.1 OS will still boot & works perfectly fine like always, so it doesn't really make sense.
My current setup is:
Disk 1: Solid-State:
Boot Partition
SL6 LVM1: Root Partition
Disk 2: Hard Drive:
SL6 LVM2: User, Temp & Swap Space Partitions (Different LVM to Root)
Disk 3: Hard Drive:
Windows 7 Professional 64-bit
My guess is its windows MBR. The reason i say this is because the Hard Drive contents of the Windows software still appears intact when accessing the drive from the Linux OS. I don't won't to go through the rigmarole of re-installing both OS's. So hopefully their is a relatively simple solution.
I'm attempting to add an additional HDD to my system (without having to format it). I was told that I need to edit my Fstab. I'm trying to get an internal SATA drive mounted. I'm getting these two errors when I try and mount the drive DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
and
DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending
my Fstab is as follows.
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
[code]....