Software :: Grub Adding Modules To Grub2?

Jul 22, 2010

I've noticed grub2 has modular structure. Is it possible to insert other Kernel modules into grub? Or can write my own modules to insert into grub?

View 1 Replies


ADVERTISEMENT

CentOS 5 Server :: Adding Authentication Modules To Courier-imap?

Jun 4, 2011

I am administrating a server with CentOS installed. It came with qmail and courier-imap preinstalled, and Plesk.I need to manually add email accounts outside of Plesk, because my 1-domain Plesk license only allows the creation of one email address (yes, it sucks).

When I say add email account I mean creating a new email address, have email for that address be stored in its maildir, and have a corresponding imap (and hipefully also pop3) account that will be able to read that mail. All this with virtual domains.I've already found out how to create the new email addresses for qmail, so that email for the new email address is being delivered correctly. Now I need to create the imap/pop3 accounts for courier.

For the qmail part, I create a folder in in /var/qmail/mailnames/virtualdomain.org/username and a maildir called Maildir inside it. This is how the first mail address was created by Plesk and i'd like to maintain the same structure. As I've said, the qmail part is already working, I need to get the courier-imap part to work. Ideally, it should accept login with both short (i.e. myuser) and long (i.e. myuser@virtualdomain.org) user names.

Currently the only authentication module that is enabled in courier-imap is authpsa, which is Plesk's authentication module.in order to add more authentication modules, do I just need to add them to the authentication module list in /etc/courierimap/imapd, or do I need to reinstall courier-imap with support for such authentication modules? I thought I would only need to add them to the list, but I've noticed that the /usr/lib/courier-imap/authlib/ folder only contains a binary called "authpsa". Does that mean that other authentication modules are not even installed? If so, can I install them without reinstalling courier?

The second question is, what would be the most recommended authentication module that would make it easiest to create new email addresses/accounts from the command line? I need to be able to write a shell scripts capable of creating a new email address with all that is needed, and I'd like to keep this script as simple as possible, so for example I'd avoid mysql-based authentication as it sounds rather complicated. And the last question is, if I do need to reinstall courier-imap, how can I install a package without recompiling it? Will my one existing mailbox keep working?

View 1 Replies View Related

OpenSUSE Hardware :: After Adding RAM Modules - Random Screen Freeze/lockup

Jan 11, 2011

Basically when I add more than a single 2gb RAM module, my computer starts randomly crashing every half hour or so, the screen freezes with no response. I have tested the RAM with memtest 86+, it only happens when there is more than one module. The system is openSuse 11.2 64bit and it had a single 2gb RAM module when I first installed it, and removing all but this seemingly fixes the issue. The following is the error message I get when the system crashes, It seems to continue messaging after the initial visual lockup.

Jan 11 16:34:50 eddie kernel: [ 3129.580690] SysRq : HELP : loglevel(0-9) reBoot Crash terminate-all-tasks(E) memory-full-oom-kill(F) fGldbg kill-all-tasks(I) thaw-filesystems(J) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) powerOff show-registers(P) show-all-timers(Q) unRaw Sync show-task-states(T) Unmount show-blocked-tasks(W) dump-ftrace-buffer(Z)

[code]....

I don't know what the problem is, but from searching the web it could be a number of problems, the memory is not being allocated correctly or it maybe there's some conflict no between my ATI HD card/driver (latest driver from ATI repo).

View 8 Replies View Related

Ubuntu :: Adding XP To Grub2

Jan 15, 2011

I'm running Kubuntu 10.4. I cloned an old xp installation into the first primary partition on my disk and I was trying to add it to grub2. I can access the files when I mount it which means that the xp filesystem is working fine. When I do an update-grub though it doesn't detect it. I think that the problem is related to the fact that I cannot find a boot.ini file into the xp installation.

View 1 Replies View Related

Ubuntu :: Adding New Entries To Grub2?

Mar 3, 2010

i'm using ubuntu 9.10... i'm working on some projects on L4 microkernel... i want to add it to the grub...i was familiar with the earlier grub, i.e editing the menu.lst...

title = L4Ka:istachio/i586 pingpong
kernel=/boot/kickstart
module=/boot/i586-kernel
module=/boot/sigma0
module=/boot/pingpong

how can i do this in new grub version...? i tried adding the following to /etc/grub.d/40_custom but failed...

menuentry "L4Ka:istachio" {
set root=(hd0,9)
kernel=/boot/kickstart[code ]..........

View 3 Replies View Related

Ubuntu :: Adding LVM Volumes To GRUB2?

May 4, 2011

So after installing Ubuntu 11.04 with Fedora Beta 15, I decided it would be a good idea to get a *buntu based distro in case of anything. So I reinstalled it in the form of Xubuntu, and I see that Grub found my Windows 7 install, but not my Fedora install! Here is the output of fdisk -l:

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

View 5 Replies View Related

Ubuntu Installation :: Adding A Xp Partition In Grub2?

Jun 5, 2011

i had ubuntu and slackware installed together for a while, i just needed xp to do some native language work so i installed it on my extra partition but then i messed up the grub menu, however i reinstalled it from live cd.. but now the problem is i dont know how to add a xp in that.

i'll give you my fdisk -ls output :

Quote:

/dev/sda1 1 12803 102840066 83 Linux
/dev/sda2 12804 14267 11759580 83 Linux
/dev/sda3 14268 15035 6168960 82 Linux swap / Solaris
/dev/sda4 * 15036 19457 35519715 7 HPFS/NTFS

[Code]....

View 2 Replies View Related

General :: Grub2 With Ubuntu 10.04 Adding Additional OS's

Sep 10, 2010

I've got a laptop I use for various things. I have one SATA HD with a number of partitions on it. It looks like this.

sda2 = System Reserved (Flag=boot)
sda3 = Windows 7
sda4 = extended
sda5 = Ubuntu
sda6 = WinXP

I started off with Win7 on there and added Ubuntu. Everything went fine and Grub added Win7 and I could boot to both. Since then I had to add WinXP. That wiped out Grub which I read it would. I tried adding Grub back which was unsuccessful so I just reinstalled Ubuntu which re-installed Grub, but not Win7 doesn't boot from the menu when I select it. Since then I've been trying to add Win7 and WinXP back into Grub with zero success. In addition I add the following which did not work.

[Code]...

View 23 Replies View Related

Ubuntu Installation :: Adding The Win7 To Grub2 Menu?

Feb 28, 2011

I installed Win7 on a 2-disk RAID0 fakeraid. I then unplugged those drives and installed linux mint on a separate drive. I did it this way because if I left the drives plugged in, linux would jack up the fakeraid for those drives and make windows upbootable, and installing linux to the fakeraid itself is just too much of a PITA. So basically, this is the disk configuration, and there's no chance of me changing it.

Right now, I can boot into either win7 or mint by pressing F12 for the boot menu, and then selecting the drive the os is installed on. It would be nice if I could just add an entry to the grub menu for win7. I've used the menu.lst file before, but apparently all that has changed with grub2. I've checked out some of the grub2 docs and poked around in /etc/grub.d, but frankly, it seems to be orders of magnitude more complicated than it should be.

View 3 Replies View Related

Ubuntu :: Grub2 Configuration - Adding Entries For Other Kernels

Mar 5, 2011

Is it possible to add menu entries for older kernels to boot instead of the latest?

I have tried this in Ubuntu 10.04 and it hasn't worked.

This used to be possible with ease in grub legacy.

I copied the current menu entry from /boot/grub/grub.cfg and pasted it in the /etc/grub.d/ 20_custom file.

Then I changed the kernel number to the older kernel number and the initrd number too. #update-grub puts this entry into 'grub.cfg', but it doesn't work.

I get:

The old kernel is in /boot as well as the respective initrd and config files.

View 1 Replies View Related

Software :: Adding Files Extracted From An ISO To GRUB2 Bootloader?

Feb 16, 2010

I have extracted the files from a bootable CD to /dev/sdc2/bootable/winpwrec with the hope of booting from the hard drive. I have read the grub.cfg file and a couple of guides here and I'm still not sure what I'm doing. Is there any chance someone can tell me what I need to add to the grub.cfg file to add this to the boot menu? I am pretty well-versed in computers but I'm new to Linux and I'm still trying to get acquainted with the OS, terminology, and the boot loader. I'm using Ubuntu 9.10, if that matters.

files in the folder:
BOOT.CAT;1 ISOLINUX.BIN;1 SCSI.CGZ;1
BOOT.MSG;1 ISOLINUX.CFG;1 SYSLINUX.CFG;1 VMLINUZ.;1
INITRD.CGZ;1 README.TXT;1 SYSLINUX.EXE;1
isolinux.cfg
Code:
#serial 0 19200

View 3 Replies View Related

Software :: GRUB2 - Autoprobe "update Grub" Grub Seems To Detect All OS And Generates Grub.cfg

Feb 28, 2011

I have an old BIOS (only 149 GB detected in 160 GB drive). I have installed very few OS as a result - Windows in first 80 GB , 2 distros (20 GB each) in next 40 MB which is within the 149 GB. On issue of "update-grub" grub seems to detect all OS and generates grub.cfg. But on boot , one distro does not appear in the menu.

View 3 Replies View Related

Fedora Installation :: Grub2 Bootloader - Manually Adding Entry?

May 29, 2010

I have a working Ubuntu install with the Grub2 bootloader. I need to manually add an entry to boot Fedora 13 off of sda. Sda1 is the boot partition, sda2 is LVM. None of the examples I've tried work. I do also have F13 grub installed on sda, but chainloading to it didn't do anything other than a blinking cursor.

View 5 Replies View Related

Fedora :: Get The Graphical Screen Back By Adding Vga=795 To /boot/grub/grub.conf

Nov 21, 2009

since i have installed the nvidia drivers i have lost the graphical boot and just had a bar at the bottom of the screen instead. i tried to get the graphical screen back by adding vga=795 to my /boot/grub/grub.conf but when i rebooted not only did i not get the graphical boot or the toolbar at bottom.

i got list of all the drivers and services it is starting with ok next to it. i have also since doing this lost the bit when restarting or shutting down getting the words restarting or shutting down and just get blank screen with flashing cursor. i removed the vga=795 and i still get the list of drivers/services loading.

how do i get the quiet option back. i have checked /boot/grub/grub.conf and it has the quiet in it.i have also tried running update-grub but get message command not found. i have attached the grub.conf file

View 3 Replies View Related

Ubuntu :: Stop Update-grub2 Automatically Adding Entries For Specific Partitions?

Aug 20, 2010

I like to load other distro's via their own grub.

So at the min I add an entry to code...

however when update-grub2 is run it also adds its own entries (for arch linux).

Is there a way to stop the update-grub2 script automatically adding a entry on a specific partition ?

View 3 Replies View Related

General :: FATAL: Could Not Load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No Such File Or Directory

Mar 6, 2011

I want set up VPN on my VPS but when i try to turn on tun/tap i see:

:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)

View 1 Replies View Related

Ubuntu :: Grub2 Editing - Editing Directly To /boot/grub/grub.cfg?

Jun 6, 2010

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]....

View 9 Replies View Related

Fedora :: Chainloading Grub2 From Grub 1?

Feb 1, 2011

A little background: my primary install is fedora 9, I'm migrating to 14, and I need to change some partitioning (but not the F9, which is first on the drive). Because I installed a newer ubuntu a while back, I've been using ubuntu's grub2. That ubuntu partition needs to be moved, so I re-installed the grub 1 from F9 onto the MBR so the F9 doesn't depend on anything else.

This is when I learned grub 1 does not support booting ext4 partitions (which ubuntu uses). However, fedora claims that you can install grub 2 and have it chainloaded from grub 1, and in fact yum install adds a line to your existing grub 1 config to do so. That seemed like a nice solution since then all I would have to do is copy some grub.conf from the ubuntu partition into the F9 grub 2.

However, chainloading grub 2 does not seem to work very well. At all. I get to the grub 2 menu, but any option I choose -- including loading the F9 partition on which both grub 1 and 2 are installed, using the default config created by the installer, leads to an "unrecognized command" error, as if grub 1 was crapping out on a grub 2 config.

Anyone else had this problem? Better yet, has anyone done this successfully with any fedora version? I can backup ubuntu and copy it back in after I re-work my partitions, but while I'd prefer not to have to use grub 2 on the MBR, I'd still like to be able to boot ubuntu.

View 14 Replies View Related

Ubuntu :: Replacing Grub With Grub2?

Mar 24, 2010

I recently decided to try out Fedora 12 (which uses Grub, not Grub2) along side my Ubuntu 9.10 which does use Grub2, and Windows 7 (yuck). I would like to use Grub2 to boot (Fedora's Grub does not recognise my 9.10 install). I've searched for a way to simply remove Grub, but have only found ways to remove it by using "the Windows fix" (fdisk /mbr or something similar) which I do not want to do, and I do not want to modify Grub's menu.lst, I just want it gone and to install Grub2. I am most likely going to remove Fedora soon anyway.

View 9 Replies View Related

Ubuntu :: Replace Grub2 With Grub?

Jun 20, 2010

I have seen grub2 wreck the system console screen display, be dependant on files in /etc/default and /etc/grub.d and be exteamely hard to configure. Even worse Grub2 settings are distribution dependent and distribution specific.

Something single like vga=nnnn in grub2 involves something akin to these commands in grub2 "set gfxmode=1280x800 set gfxpayload=keep insmod gfxterm insmod vbe" and editing far too many files. I have a steady flickering screen loaded during boot because Ubuntu's usplash image is larger than 640x480 and the vga size is 640x480. Grub2 is reluctant to be anything but user friendly.

Practical question: Does anyone know of a guide that could change grub2 back into the useful and user friendly grub (menu.lst).

View 6 Replies View Related

Ubuntu :: Grub2 Took Over Grub Legacy?

Jul 17, 2010

I had Arch Linux installed on my machine on sda1 and the Grub legacy that came on their install image on the MBA at sda/. I just did a Ubuntu update and it wanted me to do an update and me thinking grub-install referred to grub legacy, went along with it but now I have Grub2 for my boot menu. There are a few guides on restoring Grub2 I've found but how do I put Grub back on to how I had it? (I thought installing grub legacy from Arch's usb image I have would be simple and fairly automated/easy but it won't let me without doing the previous steps of partitioning drives and selecting packages to install and such so it looks like I'm going to have to do it manually which I haven't done before).

View 3 Replies View Related

Ubuntu :: Grub2 Not Reading Grub.cfg?

Jan 3, 2011

I installed grub2 into a usb flash drive, the system loads grub fine, but then dumps me to the grub> prompt.The only way i can get the system to continue on is to type inCode:configfile /boot/grub/grub.cfgdoes anyone know how to get grub to auto-load the grub.cfg file?

View 2 Replies View Related

Debian :: What I Can Do To Either Get Grub Or Grub2 To Work?

Mar 26, 2010

i am running lenny. and at some point my grub started exibiting a strange problem. Grub will not display all the kernels that it finds, it only displays 2 of them out of the 5 grub was finding.the system is working and boots just fine.

I attempted to install GRUB2 which went ok. since my system booted ok i removed GRUB that operation was sucessful and it deleted all the grub files that were not needed.but my system is still booting into grub with the same 2 kernels.Could someone tell me what i can do to either get grub or grub2 to work?

View 9 Replies View Related

General :: Chainloading With Grub And Grub2?

Dec 20, 2010

I multi-boot Windows XP and 5 Linux distros on a single hard drive. Some of the distros come and go but I keep at least two that are my daily use distros. My boot loader is grub1 located on a ext3 formatted distro. I have installed a distro that requests the partition be formatted ext4, which I did. I have been trying to edit my grub1 menu.lst so that I can chainload the ext4 distro get errors or it goes to the command line with the last word being Grub. My question is, can grub1 ext3 chainload a grub2 ext4 distro?

Here is a sample of my menu.lst
Code:
title MEPIS at sda7, newest kernel
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 nomce quiet splash vga=789
initrd /boot/initrd.img
boot

[Code]...

Mepis is the location of my menu.lst and is ext3 on sda7 and aptosid is the ext4 distro that I am trying to boot on sda9 and it uses grub2.

View 3 Replies View Related

Software :: Booting Grub2 From Grub?

Mar 30, 2011

My working OS uses grub, but I've just installed Sabayon 5.5, which uses grub2, on hda10. I want to keep using grub until I've got time to RTFM on grub2, so I installed the Sabayon bootloader on hda10. I should be able to point grub at the partition and boot indirectly, as with Windows, but after following the grub 'info' page I get an error message. Can anyone point to the error in the following grub script:

title hda10 110330 Sabayon 5.5
rootnoverify (hd0,9)
makeactive
chainloader +1

[Code]...

View 3 Replies View Related

Software :: Grub.cfg File In Grub2?

Jan 22, 2011

make working entries in grub.cfg. This is taken from Ubuntu 10.10 and despite the do not edit warning, I edited it with sudo gedit /boot/grub/cfg. My computer boots into every OS in the list.

# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

[Code].....

View 16 Replies View Related

OpenSUSE Install :: Adding Os's To The Grub?

Nov 29, 2009

I have just done a fresh install of OpenSuse 11.2 over 11.1 (and I love it). Grub has the options of booting into Opensuse and windows but has missed Mint.It normally wouldn't bother me, but I use Mint for a few things I can't get working in Suse.
I was just wanting to manually add Mint to the Grub menue.I would like it to be added to the Suse grub as I prefer the look of it to the Mint grub.

View 9 Replies View Related

Ubuntu :: 10.04 - Adding Grub Partition On Different HD

Jun 13, 2010

I've got two drives, one with Ubuntu 10.4 and one with Win 7. My BIOS boots to the Ubuntu drive, which has Grub2 installed. Apparently though, since I have Win7 on the other drive, Grub doesn't find it and won't generate a boot menu entry for it. I'm attempting to just add one to the menu by editing /etc/grub.d/40_custom, but those attempts aren't quite working. That adds an entry to the menu, but apparently I've got a parameter wrong somewhere.

View 5 Replies View Related

Ubuntu :: Adding Windows To Grub?

May 11, 2011

I have been running 11.04 for what i'd say is about a month now. In the very beginning, i shredded through a few installs, because i couldn't get windows and 10.04 to play nice. With the new update, and some renewed motivation (Portal 2), i'd like to try to get both up and running again.

First, the details. I installed both OS's in a jumbled order, realized that i basically effed everything, and wiped both drives clean. I then installed windows, then Ubuntu 10.04. I think my main point of error was the way i set up the boot sectors on my final Ubuntu install, but i can't remember how i did it. all i know is that linux is sda, and windows is sdb. what is strange, however, is when i do an Fdisk of my mounted drives, i see 3 partitions under sda1, labeled sda1, sda2, and sda5

On to the previously tried methods: I've tried a simple mount of the windows drive, followed by a "sudo update-grub." all this gets me is a list consisting of 11.01, 11.01 backup, 10.04, 10.04 backup, and memtest86+. not even a hint of windows.

I've tried "sudo grub-install" on both sda and sdb, but still no dice.

That's about all i've tried. I've searched for the past week with limited results, and i'd really like to avoid reinstalling ubuntu if at all possible. Any other information, like an fdisk results list or anything like that can be provided if need be.

View 5 Replies View Related

Ubuntu :: Adding Drive To Grub

Jul 3, 2011

I'm using ubuntu 10.10 and I would like to add a drive to grub. I have windows xp installed on the other drive, but in order to get to it right now I need to change drive priority in the bios. So how do I go about adding this new windows drive to grub?

View 3 Replies View Related







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