Ubuntu Servers :: Init Not Found After RAID Setup?

Apr 4, 2011

I have the current disk setup :

disk1 :

Code:
sda:
(primary) sda1 ntfs
(primary) sda2 ext3 (mounted as / )[code]....

Before i set up the raid, but with this exact partitioning, the system booted perfectly. When i installed mdadm and created the raid1 mirroring on sda6 and sdb1, the init got screwed up, and all i get is a shell on initramfs, from where i can inspect that sda is binded on md, and cat /proc/mdstat tells me that i have an inactive sda[4].I can't mount the root partition (sda2), because it's busy (i suspect dmraid to lock it), which is, i guess, why init cannot be found.

I wonder if my error is to setup a raid array using a logical partition contained in an extended partition (but i hardly see why it would not work - but the sda bind and the sda[4] in mdstat seems to tell me that it does not), or it's just the initrd that is improperly configured. The other things that bothers me, is that changing the partition type of the raid partitions (fd to 0 - Empty), to disable raid autodetection, resulted in the same behavior on boot. Which might lead me again to think about configuration file problem instead of improper setup.The live cd doesn't not seem to recognize raid, so i can't inspect problems any further, but i could inspect system configuration, but i don't really know where to start.

View 2 Replies


ADVERTISEMENT

Slackware :: Software RAID 1 Versus LILO / Kernel-generic - ERROR: No /sbin/init Found On Rootdev

Jul 1, 2011

I'm currently trying to setup Slackware 13.7 on a server, using software RAID 1. I'm using the README_RAID.TXT document at the root of the Slackware disc as a reference. Anyway, here's what I have so far.

/dev/md1 -> /boot partition
/dev/md2 -> swap partition
/dev/md3 -> / partition

Code:

[root@raymonde:~] # fdisk -l /dev/sd{a,b}
Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes

[code]....

I created an initrd image using mkinitrd -F, added an according stanza to /etc/lilo.conf and ran 'lilo' after that. Now I can boot on the vanilla huge kernel all right. But I can't seem to boot on the generic kernel. Whenever I try to do this, the boot process stops short on the following error message:

Code:

mount: mounting /dev/md3 on /mnt failed: Device or resource busy
ERROR: no /sbin/init found on rootdev

View 5 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

Ubuntu Servers :: Custom RAID Setup ?

Jul 12, 2010

I'm setting up a web server but I have no experience with RAID. I would like to try this configuration if possible:

2 x HDD 500GB RAID1
1 x HDD 20GB (logs and tmp)

The old 20GB drive I would like to use it to store logs and temporally files (mounted in /var/log and /tmp respectively). With this I'm trying to reduce some disk usage in the RAID drives. In my idea, it would be better to write the access/error logs of the web server in a separated drive to the one serving the files which may increase speed... sounds crazy?

One problem is that during the installation, If I set the RAID automatically it will try to use my 20GB HDD as well in the RAID... Does it will work if I set the RAID first (removing the 20GB HDD) and then set the mount points in it after the installation?

View 4 Replies View Related

Ubuntu Servers :: Use UUIDs To Setup A Raid With Mdadm?

Oct 6, 2010

Can I use UUIDs to setup a raid with mdadm?

View 3 Replies View Related

Server :: Setup The Servers In A RAID Configuration?

Apr 15, 2010

I am rebuilding two microsystems servers and I need some advice to make my dreams come true.I want to setup the servers in a RAID configuration and want to install a GUI Linux application to manage a file server, manage a subnet, and host a Moodle on my subnet.I am planning to use Asus eee netbooks running Linux as my client computers. I basically need to be able to get my kids on the web and be able to have them use some open source office suite tools. No major crunching. I'll have two Macs for that.

View 3 Replies View Related

Ubuntu Servers :: Install Boot Loader Into RAID 10 Setup?

Oct 3, 2010

i installed ubuntu server on a 4-hard disk system, i installed with the RAID 10 support that comes with 10.04 server optioon. my raid swap is /dev/md0 and my raid data partition is /dev/md1

hard drives are /dev/sda /dev/sdb /dev/sdc /dev/sdd

the instalation goes fine, from the 8TB im getting 4TB mirrored which is what i want,
but the instalation setup goes up to the point where it asks me to install grub boot loader, There i choose the default option and it does a fatal error.

my main goal is just to make it bootable, any method is welcome. this went beyond my RAID knowledge (more conceptual than technical)

View 2 Replies View Related

Ubuntu :: Wont Boot - "no Init Found. Try Passing Init=bootarg"

Jan 31, 2011

While I was using my computer a few days ago, the terminal stopped working properly, so I tried to reboot, and when it started up again it wouldn't boot and said "no init found. try passing init=bootarg"

This has happened twice before, so I really need to figure out what keeps happening, otherwise I can't continue to use linux. i reinstalled both times before. i think that this is caused by a process that prevents me from using the hard drive, because when I try to check the disk in the terminal or in gparted, it says Device or resource busy while trying to open /dev/sda1. Filesystem mounted or opened exclusively by another program?

Also, in the disk utility, in the lower right corner of the filesystem it has a spinning "loading wheel".(i'm not sure if that means anything)

I am using ubuntu 10.10, but am not sure what kernel I am using, but i tried a few different kernel options(there's three of them at start up). safe mode does not work either.

View 3 Replies View Related

Fedora Servers :: Setup RAID On DELL Server With F10 64Bit OS?

Jan 22, 2009

I have had no problem installing Fedora OS on any of my Dell servers prior to this post. Anyway, I wouldn't call this a problem but recently, we bought another DELL server with Quad Core, 4GB, etc... AND this model has 2 swappable SAS Harddrives.

I wouldn't call myself an expert but then again I am not a newbie too. However, I have never setup any RAID before and now I am forced to setup RAID1 on this server. So, in a way, I am a newbie in setting up RAID

Would someone please point me in the right direction as I have no idea what I am supposed to do to setup the RAID. FYI, I will be installing Fedora 10 64bit on this server. I would appreciate if you can start from the very beginning, ie. partitioning, formatting the harddrives during OS installation, etc..

View 3 Replies View Related

Fedora Servers :: RAID 6-like Setup With Dissimilar Disk Sizes?

Jun 7, 2010

I'm looking to set up a bit of a home server, and am wondering about storage. What I'd like is something like RAID 6, which has good redundancy built-in, but with this being a home server, I'd prefer to start a little smaller and leave room to build it up in future. I'd been looking at commercial products like the 'drobo', which seems fairly ideal, but I'd really like to see if I can do it myself. I understand that throwing the RAID into an LVM will allow for some expansion, but the last time I checked, most RAID setups called for the same sized disks, or at least limited the array by the size of the smallest disk present.

What I'd like is the ability to build a basic framework with a few cheap disks, and then as things start filling up, to be able to add larger ones (perhaps eventually pulling out smaller ones as though they'd failed and replacing them with big ones)

View 1 Replies View Related

Ubuntu Servers :: 9.10 Server/Raid 10 Setup - HDD - Not Recognizing The Full Capacity Of The Drives

Mar 12, 2010

I have a total of 4 hdd's, 500gb 7.2rpm that I would like mirrored using raid 10. As you can see from the image, ubuntu 9.10 server isn't recognizing the full 2tb's. In fact, I'm not even sure about the configuration as I was thinking the HDD's would come up as four 500gb hdds. Instead I have the configuration above set and ready for Ubuntu to be installed on.

1. Is this typical of a server pre-configured from Dell(perc6 raid controller.

2.Why is ubuntu not recognizing the full capacity of the drives especially when it's a server install?

View 5 Replies View Related

General :: Kernel Panic - Not Syncing - No Init Found - Try Passing Init - Option To Kernel

Apr 19, 2011

Im am building a Linux distro. It will be very tiny and fast.

I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.

The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.

When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.

The kernel works OK with others initramfs/initrd files. But not with my own.

Quote:

Here is how the end of the kernelcomplie look like.

Quote:

Here is my init file who is the initrd/initramfs source.

Quote:

The initramfs folder contains "bin" (folder) and "init" a file. No more.

The problem is that the kernel cannot find/read init file.

View 4 Replies View Related

Ubuntu Servers :: RAID-5 Recovery (spare/active) / Degraded And Can't Create Raid ,auto Stop Raid [md1]?

Feb 1, 2011

Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.

Now the array is (logically) no longer able to start:

mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]

I was able to examine the disks though:

Code:
root@127.0.0.1:/etc# mdadm --examine /dev/sdb2
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
code....

Code:
mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.

View 4 Replies View Related

Ubuntu Servers :: RAID Card Reports All Four HDDs To Ubuntu As Single Drives Setup?

Nov 3, 2010

This is a strange problem. I have Ubuntu server installed on a proper server hardware. My RAID card reports all four HDDs to ubuntu as single drives, which is how i set it up because Ubuntu does not recognize the raid card on the server. Now you might say if thats the case, why dont i remove the raid card and have the BIOS report to ubuntu as four single drives then i can perhaps setup software raid. Well my board has only one sata port.Ubuntu is all setup. on the first drive and i have set the other three up using software RAID.

System works great only problem is it freezes sometimes. Not everytime, just on the odd occassion I use the same Hardware without the raid card and of course just one HDD and it great. No freezes.That leads me to believe its the RAID card.My question is why will it run great for days and sometimes just freeze on me? Probably silly but if theres an issue with the RAID card, it should not work at all, should it?

View 2 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

Ubuntu Installation :: Dual Boot SSD Non Raid - 1 Terabyte Raid 1 Storage "No Block Device Found"?

Sep 15, 2010

It's been a real battle, but I am getting close.I won't go into all the details of the fight that I have had, but I've almost made it to the finish line. Here is the set up. ASUS Z8PE-D18 mother board 2 CPU, 8 Gig Ram. I recently added an OCZ Agility SSD, defined a raid 1 virtual disk on the 1 terabyte WD HDD drives, which will holds all of my user data, the SSD is for executables.The bios is set to AHCI. Windows 7 installed fine, recognizes the raid VD just fine.

I installed Ubuntu 10.04 by first booting into try and mode, then opening a terminal and issuing a "sudo dmraid -ay" command. Then performing the install. I told it to install the raid components, and told it to let me specify the partitions manually. When setting up the partitions, I told it to use the free space I set aside on the SSD from the Windows 7 install as ext4 and to mount root there. Ubuntu installed just fine, grub2 comes up just fine, and Windows 7 boots with out a hitch, recognizing the mirrored partition as I indicated previously. When I tell grub to boot linux however, it pauses and I get the "no block devices found" message. It will then boot, but it does not recognize the raid array. After Ubuntu starts up I can run "dmraid -ay" and it recognizes the raid array, but shows the two component disks of the raid array as well. It will not allow the component disks to be mounted, but they show up which is annoying. (I can live with that if I have to)

I have fixed a similar problem before by setting up a dmraid script in /etc/initramfs-tools/scripts/local-top ... following the instructions found at the bottom of this blog:[URL].. To recap: My problem is that after grub2 fires up Ubuntu 10.04.1 LTS (Lucid Lynx), it pauses, and I get "no block devices found" It then boots but does not recognize the raid array untill I manually run "dmraid -ay". I've hunted around for what to do but I have not found anything. It may be some timing issue or something, but I am so tired of beating my head against this wall.

View 4 Replies View Related

Ubuntu :: OS Became Unresponsive - No Init Found

Apr 27, 2011

I've been using ubuntu for around 4 months now and have never had a problem until recently. My OS became unresponsive all of a sudden and all I could do was force shutdown my laptop by holding the power button. When I turned it back on, I was given the
"No init found. Try passing init= bootarg" error.
I have looked around online and most solutions point towards a live cd, which I don't have.

View 2 Replies View Related

Ubuntu :: No Init Found, Cannot Fsck?

May 21, 2011

I have a Dell Mini 12 running what I think is Ubuntu 10.10 Netbook Remix. It won't boot all of a sudden, saying 'No init found'. I've been through [URL].. which is VERY close to my problem but I cannot get Disk Utility to work when running off my Live USB. Asking it to check the hard drive results in it telling me the filesystem is 'not clean'.

View 2 Replies View Related

CentOS 5 :: Mistakenly Setup RAID 0 Array On / Instead Of RAID1 During Setup - Convert Without Loss?

Dec 15, 2010

So I didn't notice when I setup my CentOS 5.5 server that I left / as RAID 0 on md1. All the rest are RAID 1. Is there a way I can modify the array to RAID 1 without a risk of data loss? I'm glad I caught this before I setup any other services. I've only setup smb so far...

[root@ftpserver ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 16G 3.0G 13G 20% /

[code]....

View 1 Replies View Related

Ubuntu :: 10.04 Stopped Booting - No Init Found

Mar 6, 2011

I installed 10.04 on daughter's laptop. It's been working perfectly but suddenly it's refusing to boot. Sadly, she's now half way around the world so I can't fiddle around to get it working. She's posted me a photo of the screen.

Here's what seems to be the important part:
mount: mounting /dev on /root/dev failed: no such file or directory
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /proc on /root/proc failed: no such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.

View 1 Replies View Related

Ubuntu :: Sudo FDisk - No Init Found

Apr 3, 2011

First I installed ubuntu on a separate hard drive and ran that as primary hard drive. Then I opened terminal and entered:
sudo fdisk -l
The errored hard drive was sdb1. I then entered:
sudo fsck /dev/sdb1
There were questions I answered yes to then, after swapping drives, I booted normally. Everything was normal except I have to choose a different version of ubuntu at startup. I haven't had any problems so far but this was just an hour ago.

View 2 Replies View Related

Ubuntu :: DHCP3 Init.d Script Not Found In 11.04?

May 10, 2011

This is kinda strange, i just installed dhcp3-server in ubuntu 11.04 , but when I try to find the starting script in /etc/init.d/dchp3-server start, it states

bash: /etc/init.d/dhcp3-server: No such file or directory

I have installed the dhcp3-server,howcome there is no script for executing dhcp server?

View 4 Replies View Related

Ubuntu :: No Init Found Mounting Boots Into Busy Box?

Nov 29, 2010

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory

[code]....

View 9 Replies View Related

Red Hat :: Get Bash: Init: Command Not Found?

Feb 15, 2011

I was reading in one of my redhat books that this command would make linux rered the inittab file but whin I try it I get Bash: init: command not found.

View 3 Replies View Related

Debian Installation :: No Init Found When Trying To Run Lenny?

Mar 25, 2010

I installed ubuntu on my dual boot Debian/Lenny and windows 7 toshiba laptop. Now when I try to boot Lenny i get the following error messages:

kinit : name_to_dev_t(/dev/sda6)=dev(8,6)
kinit : trying to resume from /dev/sda6
kinit : No resume image doing normal boot ....

[code].....

I can see the whole filesystem is there. The problem may have something to do with the boot loader. I was originally using Grub 1.5 when I just had Lenny and Windows 7, but when I installed ubuntu it has installed GRUB 2. When I use the debian install cd to go into rescue mode, all the init scripts are still where they should be. Another thing that happened when I partioned of a section for ubuntu all the dev numbers went up one. In the debian /boot/grub/menu.lst windows 7 was booting under (hd0,1) now it boots under (hd0,2) debian used to boot from (hd0,7) with root=/dev/sda8 but now it is under (hd0,8) root=/dev/sda9 in the GRUB2 menu.lst. Is there anyway to get my Debian back up and running? After 6 months of studying it at uni I am finally learning my way around and want it back.

View 6 Replies View Related

Ubuntu Installation :: Black Screen Saying Init Was Not Found Or Something In That Nature When Boot

Aug 23, 2010

Recently I tried installing Ubuntu via CD, I burned the Image like the website said, It booted then it gave a black screen saying init was not found or something in that nature. I tried a few more times with no luck. I am making another CD to see if it works, hopefully it will,. Its a relatively old HDD. It has Win 98 on it. 9.18 GB space.Quantum Fireball lct 10 3.5" series.

View 5 Replies View Related

Hardware :: New HDD Brings Kernel Panic - No Init Found

Feb 6, 2011

I just added an 80GB Maxtor 6Y080P0 HDD to my computer and when I'm booting into linux (Slackware 13.1) I get:
~
NTFS volume version 3.1.
VFS: Mounted root (NTFS filesystem) read-only on device 8:1.
devtmpfs: error mounting -2
Freeing unused kernel memory: 636k freed
Write protecting the kernel text: 9564k
Write protecting the read only data: 2448k
Warning: unable to open initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
pid: 1, comm: swapper Not tainted 2.6.33.4-smp #2
Call trace:
~
The HDD I'm booting from is a 20GB Maxtor and is the 3rd slave. The new 80GB one is the 3rd master.

View 1 Replies View Related

Software :: Kernel Panic Not Syncing No Init Found

Feb 28, 2011

having updated my Debian box, it ceases to boot kernel 2.6.32 with above error. Booting an older kernel (2.6.26) seems to run init without problems.

View 2 Replies View Related

Ubuntu / Apple :: Install 10.4 On The Macbook Pro 7.1 - /init: Line 1: Can't Open /dev/sda: No Medium Found

Jul 27, 2010

I was try to installed ubuntu 10.04 on the Macbook pro .But it was failed .I got following message:

/init: line 1: can't open /dev/sda: No medium found

I have already Bootcamp to create a partition to install Ubuntu . partition file system is FAT32.

View 9 Replies View Related







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