General :: Trying To Configure Grub - Slackware Partition Setup?

Oct 24, 2009

Okay on /dev/sda
sda1 is windows xp
sda2 slackware /boot /system files
sda3 slackware swap
sda5 Centos LVM

Now my question is when I install CentOS grub did not automatically setup the slackware partition and I have to configure it manually. This is my grub.conf file

[root@centos ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol01
# initrd /initrd-version.img
# boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.el5)
root (hd0,4)
kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol01 rhgb quiet
initrd /initrd-2.6.18-92.el5.img
title Slackware root (hd0,1)
kernel /vmlinuz-generic-2.6.29.6
title Other
rootnoverify (hd0,0)
chainloader +1

How should I do the slackware in grub?

View 13 Replies


ADVERTISEMENT

Ubuntu Installation :: Grub - Setup: Warning: Attempting To Install GRUB To A Partition Instead Of The MBR - Install - Lvm - Luks - Raid - Karmic Server

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

Ubuntu Installation :: Configure GRUB For A Union Root Partition (aufs)

Apr 7, 2010

As recommended, I'm creating a new thread for my configuring GRUB problems commented first hereWe are setting up a new version of a custom system, we are migrating to Ubuntu Karmic from another distribution (Slackware). Besides small differences between these systems (most of them from the most recent versions of software used by the latest Ubuntu, such as GRUB 2), it has been decided that the new system will run an union root partition using aufs and tempfs, basically, we are following the steps provided heree install the system to a new hard drive from an already running Ubuntu Karmic system, usingdebootstrap/chroot, we move the disk to another sytem, so we have to correct disk references, we are able to run this system and it behaves correctly the first time it boots, it bypasses the GRUB menu since there are no other systems detected. However, after halting the system and booting it, the GRUB menu appears with a new "recovery" option, we've managed to remove this recovery option usingGRUB_DISABLE_LINUX_RECOVERY=trueBut then, the GRUB menu appears again, this time with only one option to boot: our system installation. But when this GRUB menu appears, it has no default timeout and so it stays forever unless ENTER is pressed to boot into the selected entry.

The main problem is that we are unable to configure GRUB inside the new installation because it always returns this message:grub-probe error cannot find a device for /If we boot the system "normally" (mounting root to a normal partition), we are able to configure GRUB properly, but it does not behave the same when using the union file system as /We are only looking for a way to bypass the GRUB menu and boot our system, do you have any advice on how to properly configure the GRUB menu for our system

View 3 Replies View Related

General :: Ubuntu 10.04 - Cannot Setup GRUB On RAID 0 Setup Disks

Jun 4, 2010

I've been all afternoon trying to install Ubuntu Lucid on my fakeRAID 0 configured (2) HDDs and am unable to set GRUB up. The fake RAID setup is provided by Intel Matrix Storage Manager, it is correctly enabled and the BIOS is also correctly set up -- in fact, I've managed to install Windows 7 with no significant hitch. After struggling with partioning the drives (had to follow advice I found on a very helpful guide online [0]), creating the filesystems AND getting Ubuntu's installer to actually do what it is supposed to do, I now cannot seem to set GRUB up. My system, as it stands, is unbootable at all; via live CD only.

This is how the RAID0 dev is partitioned:
Code:
# fdisk -l /dev/mapper/isw_ecdeiihbfi_Volume0
Disk /dev/mapper/isw_ecdeiihbfi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x6634b2b5 .....

View 2 Replies View Related

Slackware :: Take Current Windows7 (x64) Setup And Make It Into A Dual-boot Setup With Slackware 13.0?

Jan 24, 2010

I'm trying to take my current windows7 (x64) setup and make it into a dual-boot setup with slackware 13.0 (x32) and am hitting a brickwall. I guess I would like to know if I can salvage the situation without formating my windows drive. I fully intend to, but I had hoped to not do it this month. I'd like to get dual boot going so I can master it and acquire all the files/drivers I'll want and then format and do it 100% right next time.

Currently I have windows setup on a 3x 500gb Raid0 onboard array which itself has been flawless. After I shrunk my current partition size to give me about 25gb of free space I proceeded to setup Linux, and I was unable to perform the cfdisk portion for partitioning the array for Linux.

I tried using cfdisk:
/dev/hdx (a1-a3,b1-b3)
/dev/sdx (a1-a3,b1-b3)

I even attempted to locate with: cat proc/partition and tried using cfdisk on every device it located. It always said it was either an unknown partition table and should I start at zero, or bad partition. I was of course too concerned over my windows setup (which has almost 1tb of stuff I have not backed up) to go any further into the unknown.

PS: I have used Slackware before, back at 8.1, 10, and even a very brief interlude at 12.0, this is my first attempt on this computer however with 13.0, it is currently running fine on my laptop and my PS3 (Laptop is even dual booting 7/Slack13. Albeit without raid)

Phenom 9850
M2N-SLI Deluxe (Nvidia AM2)
4x1gb of 1066 kingston hyperX
3x500gb WD Caviar Black Sata2 3.0

View 3 Replies View Related

General :: Grub Loader Can't Boot From Partition But Other Boots Can See Partition?

Feb 25, 2010

I having a problem getting my grub loader to see one of my hard drives. I added a drive, and my grub loader lost track of where everything was. I couldn't get my old linux (Red Hat 9) so I installed SuSe on my new hard drive. But I need my be able to boot from my old hard drive because it has apps that only run on the earlier version. From /proc/partitions the old hard drive is sdd

major minor #blocks name
8 0 976762584 sda
8 1 2104483 sda1
8 2 20972857 sda2

[code]....

View 27 Replies View Related

General :: What Is Easiest Smtp Server To Setup And Configure?

Feb 25, 2010

I need to setup a mail server, purely for relaying mail to a MS exchange server. A previous employee used Postfix on CentOS. I have limited Linux knowledge and no experience with any mail server software other than MS Exchange, so we cannot continue with this solution (unless I can find a way of managing it all from a gui). Does anyone know of an MTA that can be configured completely by GUI? Everyone says sendmail has millions of features and loads of documentation, but I simply do not have the time to learn it. I need something that can be configured with minimal knowledge and via GUI, not command line. The only reason I'm not using Exchange is to try to save money, and hopefully it will be more secure.

View 10 Replies View Related

General :: Configure NVidia Drivers On A Portable Ubuntu Setup?

Feb 27, 2010

I've created a wonderful (until this issue) portable copy of Ubuntu linux that will boot on mostly anything by using a USB enclosure for my laptop's 80GB SATA drive. So far so good, it boots and runs on everything, and on non-nVidia card setups was even detecting the drivers, or letting me install the required drivers for hardware acceleration and compiz. Because you know, the wobble windows are the most awesome thing ever.

Anyway, my desktop machine had an nVidia card, so I'm thinking, sure, I'll just install the nVidia drivers like before and everything will work happily. Not so-- now the desktop and any other nVidia cards work great, but it seems to have completely disabled any other graphics cards. When the kernel module detects that an nVidia card isn't present, it shoots up this nasty little dialog box giving me the option to boot into "low graphics" mode, which doesn't even allow me to use the correct screen resolution, much less see the installed graphics card and try to configure a driver for it.

Is there any way to configure Ubuntu (with the dreaded nVidia kernel module) so that it can use nVidia's drivers when an nVidia card is present, and default to the normal (not low-graphics) setup in other cases, so that it has a fair chance of using what's actually present? I'm not afraid to much with config files, I just don't know the underlying system well enough to feel comfortable diving in without a push in the right direction.

View 3 Replies View Related

General :: How To Configure Grub To Actually Boot OS

May 13, 2010

I have yet to find any coherent instructions anywhere on earth on this and I am wondering if its ever actually been done before. Assuming I have root partitions on /dev/hda1, /dev/hda2, /dev/hda7. How would I do it? What would I type in the terminal?

View 9 Replies View Related

General :: How To Configure Grub (First Option WinXP)

Oct 29, 2009

I am running fedora 11 and I am configuring my menu.ist file. I attached the menu.ist file in txt extension. What I want is:

1- I want the first option to be Windows XP (which is on the second HD) and I want the text to be Windows XP instead of Other. This option should be the default (so if I didn't press anything it will boot from xp).
2- To remove the 2.6.29.4-167.fc11.i686.PAE kernel from the list and keep the 2.6.30.5-43.fc11.i586.img available as a second option.
3- Increase the countdown time to 10 seconds.

View 13 Replies View Related

General :: How To Configure Grub (New Entry Via Yast)

Jun 15, 2010

For some time I have been using Clonezilla to backup/restore linux installations. I would like - instead to USB-key that is always not to be found, to somehow "move" the clonezilla (on a USB stick). What I have tried to is to make a separate partition to install this on, copied all the files on the USB -key to that partition, and then make a new entry in GRUB via yast. Then I point to the new wmlinus and initramfs. I would have been much surprised if something link this was working after first shot. But it was also not working after the 80. shot.

View 3 Replies View Related

General :: Windows - Deleting Linux Partition And Grub Boot Loader Without Affecting The Windows Partition At All?

Aug 30, 2011

I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.

View 2 Replies View Related

General :: Cannot Configure SNMPD.conf In Slackware

Jun 28, 2011

I m trying to find an answer for this matter. I have download the SNMP version which I am concerned due to the following problems. I am trying to configure the SNMPD.conf and I cannod find any tutorial on the internet.

I downloaded the following product.

Linux version :

Linux version 2.6.18 (root@srv03) (gcc version 3.3.6) #1 SMP Sat Sep 23 19:32:53 BRT 2006

SNMP

net-snmp-5.4.2.1-i486-1_slack12.0.tgz

when I run the command snmpd I have the following problems

root@srv03:~# snmpd
snmpd: /lib/libc.so.6: version `GLIBC_2.4' not found (required by snmpd)

I dont know how to configure the SNMPD.conf there is anyway

View 1 Replies View Related

General :: Unable To Configure Boot Grub Menu File

May 7, 2010

I tried making some changes to /boot/grub/menu.lst file by logging in thru su but it throws following error:

[root@localhost avi]# /boot/grub/menu/lst | gedit
(gedit:4874): GnomeUI-WARNING **:

While connecting to session manager:
Authentication Rejected, reason : None of the
authentication protocols specified are supported and host-based authentication failed.

bash: /boot/grub/menu/lst: No such file or directory

View 14 Replies View Related

General :: Configure Sendmail (Serve Two Domains) For Slackware

Apr 19, 2010

I'm configuring sendmail that runs on Linux Slackware but find some difficulties to do some quick startup due to its complexity and massive documentation. Suppose I want to configure a sendmail that can serve 2 domains:
ethereal1m.no-ip.com
ethereal2m.no-ip.com

I use noip2 client software to connect with noip server that translates the dynamic IP addressed domains, setups POP, and does forwarding. By having 2 domains, I want to able to send email between admin@ethereal1m.no-ip.com and admin@ethereal2m.no.ip.com;therefore, my machine acts as both a server and a client. How can I setup sendmail so that it acts as both server and client? How to register email address and its domain on sendmail?

View 2 Replies View Related

CentOS 5 :: Boot Setup From Partition That Is Formatted During Setup

May 5, 2009

Here is a thought experiment:

1. Copy vmlinuz and initrd.img from isolinux subdir into /boot
2. Adjust grub.conf to boot to that kernel
3. Reboot to setup
4. Format /boot (actually '/' ) during "fresh install"
5. Proceed with the installation-over-network

I see two possible outcomes:

1. The setup fails to reformat the drive, because it is "in use" by boot kernel

2. The partition is not "in use" and the installation succeeds

Why? Old cluster with broken CD-drives, lacking USB, and no separate /boot partition.

View 2 Replies View Related

General :: Setup Grub For A Dual Boot System Of Xp And Vista?

Apr 10, 2010

I want to set up grub for a dual boot system of xp and vista. The thing is that I have vista installed and would have to install it ance again after setting up XP in order to use the microsoft bootloader. And secondly I slowly want to get into linux...

This is how I tried it: I have four partitions on my HD and want to install the Bootloader on /dev/sda3. I started up the ubuntu live cd, mounted partition3, opened the console and tried this command line which I found in a tutorial

grub-install --root-directory=/media/hda3 --recheck /dev/hda However I get the following error message:

mkdir: cannot create directory '/media/hda3/boot': No such file or directory

View 2 Replies View Related

General :: Swap Partition Requirement For Operating System Setup?

Apr 10, 2011

why is a swap partition a requirement for a linux setup? What arguments would you use to decide on the size of the partition?

View 3 Replies View Related

Ubuntu Installation :: Setup Cannot Detect Or Create Partition For Partition

Sep 30, 2010

I am trying to install windows 7 on my harddive, I am running ubuntu 10.04 and have windows 7 on DVD.I was until recently also using uberstudent, which I deleted (100 gigs) to make space for windows.However once I get to the windows start up I get a message: setup cannot detect or create a partition for this partition. (not word for word).

View 1 Replies View Related

General :: GRUB: How Find Partition Number - Hd0,x ?

Aug 29, 2010

I am playing with grub and i change the root using:

How can i know what's x for /dev/sda7 ?

The problem is that in Gparted view, the order is not like sda5, sda6, sda7, ...but the order is like:

So what's x for /dev/sda7 ?

View 2 Replies View Related

General :: Windows 7 - Install GRUB To A Partition And Not MBR?

Sep 12, 2010

I am trying to dual boot Windows and Linux. I would like to continue using the Windows bootloader in my MBR.

I installed Windows 7 first. During the install I left some unallocated space that I intended to install Linux.

I found this guide: [URL]

It says to install GRUB to the bootsector of the partition that Linux is being installed to and not the MBR of your hard drive.

I am trying to install Linux Mint Debian to the second partition. When the installer gets to where you are asked to install GRUB the only option is to install GRUB to /dev/sda which I believe is the MBR.

I decided just not to install GRUB and proceeded with the installation.

How can I install GRUB to the bootsector of my Linux partition?

View 2 Replies View Related

General :: Uninstall Grub From Logical Partition

Dec 28, 2010

I'm multi-booting with Windows 7 x64 and (at least) Linux Mint. Because I hadn't yet made a backup of my MBR, when I installed Linux Mint on a logical partition, I told the installer to put GRUB on the partition instead of in the MBR. This turned out to be useless, as I need to use GRUB from a boot disk to get into the GRUB I installed. Before installing it in the MBR, I'd like to get it out of the partition, preferably without wiping and reinstalling Linux. I don't relish the prospect of going through two layers of GRUB when I want to boot Linux. How do I get it out, or what other options are available to me?

View 1 Replies View Related

General :: DOS Partition Won't Boot With GRUB / Make It Possible?

Oct 4, 2010

I'm trying to install MS Windows from my Linux box. Because I have no CD drives nor USB ports, I can't use any live media to boot the computer and install Windows from the installation disk. So I've created a FAT partition and copy DOS files on that, so that I can boot this partition and install Windows from there. But the problem is I still haven't able to get it to boot.

Here's the output of fdisk -l code...

I created the partition by using cfdisk to format it as type 0B: WIN95 FAT32, and made dos filesystem on it using:

Code:
mkfs.msdos /dev/hda1
But when I reboot and select the DOS entry in GRUB, it tells me that:
"This is not a bootable disk. Please insert a bootable floppy and press any key to try again."

what I'm missing or doing wrong here? Do I need to change something on the MBR of hda1 etc...

View 4 Replies View Related

General :: Risks Of Installing Grub Into Partition?

Jan 26, 2010

Using Ubuntu which comes with grub 1.97~beta4:
root@voyager:~# grub-install /dev/sda7
grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are unreliable and its use is discouraged.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'.
(hd0) /dev/sda

As you can see, the installation goes well, but, why installing grub into a partition instead of MBR is a bad idea? I like to have many distros on my computer, and each one comes with their own menu.lst parameters, which also can change during updates. So it's much more pratical to create an empty partition of 64MB or less, create a /boot/grub there, install into MBR and then chainload into the other partitions.

So if I mess up with any distro, my mbr is still intact. And also if the parameters of grub setup required for a distro changes with any updates on the distro, they keep updated. So for me it is not pratical to have one distro installed on MBR controlling the other ones, having to constantly change my menu.lst. What are the risks of installing GRUB into a partition instead of MBR? Why is this message displayed? Maybe the question goes for why blocklists are unreliable or something like that?

View 14 Replies View Related

General :: GRUB Loading Error: No Such Partition

May 14, 2010

I'm using an Eee netbook so i have no CD drive. I've used Linux for about a week. Someone else installed it for me using their flash drive. If I need to use a flash drive to install I will need info on how to install to a flash drive. I had it set up so i could choose windows or ubuntu at start up. logged into windows to play a game and all it brought up was.

GRUB loading.
error: no such partition
grub rescue>

Now that's all I get when I turn it on.

View 4 Replies View Related

General :: Fix Grub After Moving Root Partition?

May 15, 2010

Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:[URL]31So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs

View 15 Replies View Related

General :: Recover Grub After Changing A Partition?

Jan 23, 2011

I moved my NTFS partition with XP and after restarting got the grub> prompt. ls,grub-install and mount are not recognized. find /boot/grub/stage1 (hd0,2,a)

how can I recover? my *nix is osol and I have grub 0.97 (legacy)

I have both a osol and ubuntu cds, but it seems I should be able to load from the grub prompt.

View 3 Replies View Related

Slackware :: Wine 32 Bit On Slackware 13 64 Bit - Configure Can't Find Some Libraries

Oct 19, 2009

Now i have 64 bit computer i installed Slackware 23 64 bit on it. i followed Alien Bob's multi lib how to and installed needed libraries one by one. everything is fine expect wine configure script can not find some libraries needed: libgsm, libmpg123, libopenal, libxcomposite.

I have already installed 32 bit compatibility packages and used /etc/profile.d/32bit.sh as recommended in Alien Bob's howto. configure -- does not really list anything for pointing for libraries.

View 14 Replies View Related

General :: Delete The Partition Of The Distro That Installed GRUB

Sep 29, 2009

I have two distros and windows installed. I only want one distro (I have decided on Ubuntu) and windows. But, the other distro, the one that I want to eradicate is the last one installed and it is its GRUB in the MBR.

I know what happens from experience if I just delete that partition with a liveCD - GRUB won't boot anything on reboot.

What do I need to do from within Ubuntu or the other Linux before deleting the partition of the second distro so that I have a working GRUB when I reboot ?

View 2 Replies View Related

General :: Grub Rescue No Such Partition, No Command Except Ls And Set Working?

Sep 27, 2010

I have both windows7 and Linux 10.04 installed in my system. The problem occurred on a forced shut down.The message which is appearing on the screen isgrub rescueNo such partitionNo command other than ls and set are working. Set shows root to be in (hd0,6). ls is not listing (hd0,6)The ls is not able to read any of the partition it lists and shows error:unknown file system.

View 1 Replies View Related







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