CentOS 5 :: Prevent Device-mapper From Loading In Installer
Mar 5, 2009
I am trying to prevent the dm_mod and friends from loading during install.I am installing by PXE boot with NFS and kickstart files over http. This works fine for other machines.Ok, I have a Dell PowerEdge 2900 III with 8gig ram, PERC 6/i raid controller.The raid has 8 1TB drives in it, so the total size of the device is >2TB.There is also an SATA drive, which is NOT on the raid controller.
The problem is, I want to install CentOS on the SATA drive. The SATA drive comes up as a device-mapper drive, with a big crazy device name.This is ok, but the problem is, when the system goes to boot, it just says 'missing operating system'.I can't boot from the raid because it is large enough to require a GPT partition, and CentOS says it can't boot from a GPT partition.The SATA drive would work FINE if I could just prevent the damn device mapper from loading, so that I could install on the SATA drive in ordinary SATA mode.
I have tried re-squashing the stage2.img with /etc/modprobe.conf with alias dm_mod off and such, no luck.I also tried adding an /etc/modprobe.d/blacklist file, that did not work either.I also tried putting blacklist= dm_mod in the kickstart file, but that seems to be a fedora-only option and it kills my install. any ideas on preventing the dm_mod et. al. from loading at install time??
View 1 Replies
ADVERTISEMENT
Sep 8, 2009
Trying to do a yum update to get everything to latest, towards the end it says this:
[Code]...
how to get around this? I tried yum clean all, then yum update, again but it did the same. I had other deps missing on other servers but yum clean all fixed them -- can't find anyone else who's had this specific issue either, nor an rpm called 'device-mapper-event' or the other things that are missing - am kinda stuck!
View 8 Replies
View Related
Apr 2, 2009
I run many 5.2 virtual machines inside of VMWare ESX3.5 I've updated a couple of test VMs from 5.2 to 5.3. The thing that stands out is that during boot time, the sequence gets to this stage:
device-mapper: dm-raid45: intialized v0.2429 Waiting for driver initialization.
Here it takes about 3 times longer than the previous Centos 5.2 (about 9 seconds instead of 3). Whereas inside a physical box the wait in 5.3 is the same as it was in 5.2
View 4 Replies
View Related
May 15, 2011
Recently, I created a device sc0 through device mapper. The divice could be found in /dev/mapper/sc0. My problem is that the device doesn't exist in /dev/partitions which will block my following test.BTW, I found dm-0 in /dev/partitions. Is it the same as /dev/mapper/sc0? But the device /dev/dm-0 doesn't exist!
View 2 Replies
View Related
Jun 23, 2011
Dell PowerEdge R610 with QLogic HBA card connected to HP EVA6000 SAN through a pair of switches.When I present space to the server, device mapper doesn't see it unless I restart the multipathd service. Same thing with unpresenting - the /dev/mapper/mpatha does not go away unless I restart multipathd.Here's what it looks like in 'multipath -ll' before and after I unpresent the LUN (without restarting multipathd)...
== BEFORE ==
# multipath -ll
mpathb (3600508b40010716b0000900001a40000) dm-8 HP,HSV200
[code]....
View 3 Replies
View Related
Feb 28, 2011
I'm facing a problem on Boot on San installation, Os is installed, now I'm trying to define mapper device
for others lun/disk with alias for multipath references
Code: # pvcreate /dev/dm-14 /dev/mapper/disk_bin_rac
Device /dev/dm-14 created
[code]....
View 2 Replies
View Related
Mar 3, 2010
Slackware 13 Kernel 2.6.29.6 have three hard drives. Root is on own drive sda1. sdb and sdc are raid via mdadm with two partitions. one for /home raid0 md0 one for swap raid1 md1. md0 is encrypted vi cryptsetup. md1 is encrypted vi fstab. everything boots fine and is accessible. However, /dev/mapper/* shows sda1 as block device connected to the raid md0. swap crypted device is correct in /dev/mapper/*. fstab is set correctly. problem seems to be with initrd. I would like the correct device in /dev/mapper so that I can access drive info; size, available space, etc. now info shows only sda1 info
View 1 Replies
View Related
Feb 26, 2010
Greetings Fellow Knights Of The Penguin Clan....!I am having issues with device mapper seeing a 275GB Raid5 Lun from my SAN storage.I'm using IBM 2145 San Volume Controller.I am able to see a 40 GB Raid 10 device though..
########################################################################
fdisk -l |grep 'dm-*'
Disk /dev/dm-6: 42.9 GB, 42949672960 bytes
[code]....
View 22 Replies
View Related
May 10, 2010
I have a linux machine, attached to a fibre channel SAN.
We're in the testing phases and we're attempting to get all of the bugs worked out before this goes live.
If i have my host streaming data to the storage device on the san (or from the device on the san) and simulate a path failure (by shutting down one of the host's ports on the FC switch), multipath does not pick up on another path until about 45 seconds have passed.
I can verify this by watching the statistic graph (which updates once per second) on the storage system.
I see iops running along rather nicely, and then they drop to 0 for 45 seconds, then pick right up to normal again.
This is a RehHat EL 5.5 system, with qlogic HBA's.
Am i being too picky? I'd expect multipath to recover in under 30 seconds, so as to not alarm host applications running on the linux host... 45 seconds seems like a long time to wait for a disk operation to complete.
Any tips on tuning Multipath, or the qlogic card? As it is, i've got the following options in my modprobe.conf.
alias scsi_hostadapter2 qla2xxx
Code:
My multipath.conf looks like:
Code:
View 3 Replies
View Related
Jun 13, 2010
I'm having some difficulities with truecrypt and cannot figure out what's wrong since this is my first attempt to create hidden encrypted partition. I'm using ubuntu 9.10 64b with latest 6.3a truecrypt. After using truecrypt gui (just command truecrypt) I've tried: create volume-->create volumne within a partition/drive-->hidden trucrypt volume --> select some /dev/sdX by my choice --> select aes & sha512 --> password --> and format it.
when formating finished message "wrong ss, swith or wrong superblock of /dev/loop0" appeared. I've got no idea what could I do with it neither know whats program trying to do! Ok formating's done, then if you're trying to mount that partition then I would expect prompt for password, but that did not happen ...
EDIT: sudo mount /dev/loop0 /media/tmp/ also complaint about wrong superblock, but that does not ring any bell since i've got no idea what /dev/loop0 is or is for...
EDIT2: I've tried another approach also:
sudo truecrypt -t -c
sudo truecrypt -t /dev/sda3 --filesystem=none
but the first command finished creating 100G drive in 1 sec (nonsense) and latter one prints:
Error: device-mapper: reload ioctl failed: Invalid argument
Command failed
View 3 Replies
View Related
Jul 8, 2011
Anyone know how device-mapper works, or can someone point me to any docco (other than the man page)?
Couple years ago I wrote a TrueCrypt wrapper script for use on Puppy Linux, and am reworking it for Ubuntu. Puppy sometimes didn't have the 'dmsetup' device-mapper utility available, but TrueCrypt still works without this when the '-m nokernelcrypto' option is used.
My script notices when dmsetup is available and skips this option. When the TC volume gets mounted (somehow using dmsetup), the Desktop icon is labled with the leaf name of the /media/mount_point -- so far, so good.
However, if I force the script to add the no-kernel-crypto option, and the TC volume is mounted without using dmsetup, the Desktop icon ls labled with the size of the volume. Say what?
Running df shows the difference between the two mounts is whether /dev/mapper is used. So *how is* dmsetup making this happen? The manpage isn't much help. Is it just the 'rename' sub-command? I am unable to find any details about this mechanism.
Code:
View 1 Replies
View Related
Feb 12, 2011
I have a persistent usb key with Ubuntu 10.10 Netbook remix. I need to know how to stop the installer fro0m running on boot so that it just goes to the desktop
View 1 Replies
View Related
Sep 28, 2009
I am using CentOS 5.2. I am installing from disc on a machine with Intel Embedded Server Raid Technology. It has two 500 GB SATA drives. During the initial boot process, it sees that these two devices exist. However, after getting into the screen to partition and configure RAID, it just shows this:
Drive /dev/mapper/ddf1_MegaSR R! #0 (475879 MB) (Model: Linux device-mapper)
I want to do a RAID1 so that the disks are mirrored. However, I would expect to see both drives listed. I can select RAID to create RAID partitions, but I think I need to be able to see both drives in order to do this correctly.
View 6 Replies
View Related
Jun 17, 2010
Is there a method to prevent the grub installer from overwriting the MBR pointer when grub or the kernel is updated? I'm running a multiboot system and when Fedora's grub installs, then OpenSolaris' partition isn't included in the bootlist and Ubuntu's menu line has a chainloader line that doesn't resolve correctly, requiring a hand edit.I may try to do a chmod 444 grub-install , but I'm not so sure what the reprocussions may be.
View 9 Replies
View Related
Feb 4, 2010
I am trying to setup a H/W RAID-1 matrix but I am unsuccessful. I am trying to get partitions installed as /dev/md0, /dev/md1 but it keeps going for /dev/mapper/isw...The reason is that I have R1Soft backup and it needs to hook the partitions as seen in /proc/partitions from /dev not /dev/mapper/isw. I have tried to boot the installation with various options but nothing!
View 16 Replies
View Related
May 20, 2011
There are thousands of threads in the Internet about kdeinit4 problem and I searched them for a solution but all I got is: it's a bug, accept it. There is this solution here and I added
Code:
[DirWatch]
PollInterval=60000
as plamaiziere said, but this changed nothing.
So kdeinit4 loads my CPU 100%. Maybe someone has figured out how to prevent this from happening? I use IceWM but have KDE fully installed because I use a lot of apps from KDE group.
View 1 Replies
View Related
May 21, 2011
I am running 11.04 and would like to stop the loading of the parport and lp modules. I put entries in the /etc/modprobe.d/blacklist.conf file and ran update-initramfs -u. After a reboot lsmod shows both modules as being loaded.
View 1 Replies
View Related
Sep 10, 2009
I've read hundreds of threads on this problem but they seem to be intermittent and the resolution has been using a different kernel version.
I'm using the latest kernel but I still have this problem
Running Logical Volume Manager gui and attempting to extend the volume results in the same error.
View 3 Replies
View Related
Jan 29, 2010
I want to use my BootIt NG boot menu. How would I go about installing Debian 5.0.3 and prevent Grub from loading into MBR? I don't remember being asked by the installer where to put Grub. Unlike Fedora where you can choose MBR or boot section of the target partition. Debian 5.0.3 -
View 2 Replies
View Related
Feb 24, 2011
How can I prevent a program loading on startup? The program does not appear in Preferences / Startup Applications. I want to avoid having to sudo kill all programname every-time I login.
View 2 Replies
View Related
Aug 22, 2010
I am using ubuntu 10.04 and made some changes in Xorg.conf to try enabling twinview. Unfortunately, Ubuntu just stops at the startup logo now. Is there a way I can stop the loading of X, so I can undo the error in Xorg.conf and hopefully make Ubuntu load normally again? Grub automatically loads Ubuntu, there is no Grub menu that allows loading of some alternative config.
View 1 Replies
View Related
Aug 27, 2010
I installed NFS and portmap for export a folder to another PC. /usr/local. ftp is server's hostname and ws01 is client's hostname. I edited file /etc/exports with next text: /usr/local ws01(rw,root_squash) *(ro)
I restarted service portmap and nfs. From client, I try check connection with server with command: showmount -e ftp and result is: mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive
View 1 Replies
View Related
Mar 21, 2010
I use to have vista and ubuntu on my PC. Yesterday accidentally I created a new partition "table" the point is that I erased all my partitions on "MyDisk". After a while I decided to re-install ubuntu ( 9.10 karmic koala ) and take advantage of the situation and upgrade to Windows7. Since I already had the ubuntu cd, I installed it first, then downloaded the Win7 cd to install it. The problem is that Windows7 installer doesn't load.
All I get is:
<<BLACK SCREEN>>
Grub loading.
<<BLACK SCREEN>>
underscore
Ubuntu logo
ubuntu login
So I don't know whats wrong. Right now my disk looks like this:
MyDisk >
MyDisk1 ntfs ( For windows 7 )
MyDisk2 > extended (using linux with 2 more partitions: ext4 and linux-swap)
View 9 Replies
View Related
Mar 29, 2010
trying to install ubuntu on a 2nd partition on a Dell D630. The OS currently on it is Windows 7 Enterprise. I've used Windows 7 to repartition and have 80GB available for the Ubuntu install but when I put the CD in to run it gets detected as a bootable CD and starts to boot but freezes after Loading...I've left it for 2 hrs and it never progressed past that screen. I've also downloaded and burnt the ISO three times (twice in the 64 bit version and once in the 32). In all cases the install never advances. I've also tried a USB install but couldn't get that to boot
View 5 Replies
View Related
Nov 5, 2010
Installed Maverick last night... the system has been working fine all day... then on a reboot tonight got the following.
RAMDISK: gzip image found at block 0
usb 1-2: new high speed usb device using ehci_hcd and address 2
uncompression error
VFS: Cannot open root device "mapper/mylaptop-root" or unknown-block(0,0)
[code]....
Then it gives the Kernel Panic
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper not tainted 2.6.35-22-generic #35-Ubuntu
Then a call trace...This is a brand new install of Maverick I copied my files onto a USB and did a fresh install on the whole drive using the alternate CD (the desktop and netbook editions both failed to read on my system) was previously using Karmic with no issues. I tried to e2fsck the dev/sda1 from the CD in "repair broken system" mode but the return was "clean" I read that as the file system being intact but this is an area that I have no real knowledge in.
View 1 Replies
View Related
Dec 15, 2010
UUIDs make fstab hard to read, so.. Is it possible to use udev rules to prevent HDs to change device, instead of using UUID in /etc/fstab?
View 2 Replies
View Related
May 3, 2009
I have tried to install debian 5.0 and 4.0 without any luck. I have both tried virt-manager and virt-install with both debian-501-i386-netinst.iso, and full dvd. I't always gives me the same error:Starting install.Could not find an installable distribution at '/xen/debian-501-i386-netinst.iso'
[Code]...
View 2 Replies
View Related
Mar 13, 2010
When I boot I briefly see 'Grub loading...' then I get dumped in 'sh:grub>'.
I can then boot up manually:
linux (hd0,1)/vmlinuz root=/dev/sda1
initrd (hd0,1)/initrd.img
boot
I'm very new at this, so all my attempts at correcting it has been through reading posts turned up by google searches. Previously, I was dumped at the grub_rescue> prompt (have another thread about that, but I think this is a new issue, so I'm hoping making a new thread won't bring any mod's wrath down on my head), but that seemed to solve itself through no influence of mine...
What I've tried to solve the 'sh:grub>' issue:
In /etc/default/grub:
I tried disabling quiet splash, in hopes there would be some lines that would give me a clue as to what is going on, but it jumps directly from Grub loading to sh:grub>
I tried commenting out Grub_Hidden_Timeout and setting it to a positive integer. I tried uncommenting GRUB_DISABLE_LINUX_UUID=true
In /etc/grub.d/10_linux:
I tried commenting out 'if [ -n ${have_grubenv} ]; then save_env recordfail; fi'
Then I tried typing 'search -f /boot/grub/grub.cfg' at the sh:grub> prompt and got 'error: no such device: /boot/grub/grub.cfg' which I guess meant all my previous attempts were void as grub couldn't even find grub.cfg. I've tried to reinstall grub with 'grub-install --recheck /dev/sda'. Then I found this thread and tried out "grub-setup -r '(hd0,1)' /dev/sda", hoping it would point to my grub.cfg as well. No such luck.
View 10 Replies
View Related
Aug 29, 2010
I am trying to install opensuse 11.3 but the PC restarts itself before loading the installer dvd. When I run the installer dvd from 11.2 i can see all the files there, i click on auto run and it gives me an error msg saying cannot find autorun program also have a live gnome desktop cd and same problem, cant boot install media. This were both created on opensuse 11.2 using k3b for the first one and brasero for the second one. I have put both on an xp laptop and the installers start with no problem, both media check are fine, no error. On top of that I have some ubuntu dvd and some xp dvd, I have tried both on my pc and they boot fine, so its not a boot problem,
this ones were created on this same pc before I had opensuse, seems only cd or dvd created in opensuse fail, but it only fails when booting on my opensuse pc and work fine when I put them into xp laptop. I have been trying all day and I cant find any info on this problem. The only thing I can think of, that I have not tried is to try to burn a dvd using xp and try that one.
View 9 Replies
View Related
Oct 23, 2009
when I am doing a "yum update" I receive now a long list (~94MB) because of the latest CentOS 5.4 release.I am running CentOS 5.3 on a virtual machine (virtuozzo) and had already problems to install 5.3 before. To not lose the installation I do not want to update to 5.4 but of course I want to get all updates for 5.3.How can I configure my CentOS 5.3 to update the server only with 5.3 patches/releases and how to prevent it to update to 5.4?
View 7 Replies
View Related