Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old December 10th, 2006   #1
Psylocke
First Cup of Ubuntu
 
Join Date: Dec 2006
Beans: 9
Installing Edgy using fakeraid (AMD64)

I am trying to install Edgy (AMD64) on Nvidia fakeraid using the following guide: https://wiki.ubuntu.com/FakeRaidEdgy

I'm having a problem to get the raid in /dev/mapper, I think because of the following:

When running dmraid -s, it says it found Nvidia stripe nvidia_abfcacai but when I do ls /dev/mapper, it says there is no folder /dev/mapper.

When I run dmraid -V, it says it has libselinux and libsepol, but no device-mapper (it says unknown). I also installed devmapper from cd, but that doesn't differ.

Anyone knows how to fix this?
Psylocke is offline   Reply With Quote
Old December 12th, 2006   #2
njko
5 Cups of Ubuntu
 
Join Date: Oct 2006
Beans: 13
Re: Installing Edgy using fakeraid (AMD64)

Same problem here
but dmraid_1.0.0.rc13-2 works better with nvidia stripe than 1.0.0.rc9
njko is offline   Reply With Quote
Old December 20th, 2006   #3
Psylocke
First Cup of Ubuntu
 
Join Date: Dec 2006
Beans: 9
Re: Installing Edgy using fakeraid (AMD64)

I got a little further with the following:

Download from https://launchpad.net/distros/ubuntu....rc13-2ubuntu1 :
- libc6
- libsepol
- libselinux
- libdevmapper
- dmraid

(I downloaded the normal .deb files and copied them to usb)

Started the Installer from Alternate CD till Partition disks and choose abort
Start shell
Install:
- libc6
- libsepol
- libselinux
- libdevmapper
- dmraid

Run "modprobe dm-mod"
Run "dmraid -ay"
Run "ls /dev/mapper" to see what devices you have
Type exit, now you will get to the patitioner and choose manual partitioning
After this the system installs on my RAID device till it gives an error with lilo (don't care about this, want to install GRUB later on.
Go back to shell again
- nano /target/etc/apt/sources.list (enable universe)
- chroot /target
- bash
Now I need to install dmraid, I tried "apt-get install dmraid" which tries to install raid but gives an error it is unable to start dmraid using /etc/init.d/dmraid.
I also tried to install the files I already downloaded above, this gave the same error.

Anyone know how to fix this?
Psylocke is offline   Reply With Quote
Old December 26th, 2006   #4
Rizado
Way Too Much Ubuntu
 
Join Date: Nov 2005
Location: Sweden
Beans: 253
Kubuntu 9.10 Karmic Koala
Send a message via AIM to Rizado
Re: Installing Edgy using fakeraid (AMD64)

YES thank you VERY MUCH! i've been pulling my hair over this for a few days now. Haven't been able to get dmraid installed during install.

Anyway I think I have the solution to your problem. Before going to chroot you need to mount proc and sys and dev.

mount --bin /dev /target/dev
mount -t proc proc /target/proc
mount -t sysfs sysfs /target/sys

You probably need to create those directorys first. If you still get the same error exit chroot and remount proc and sys, they seem to unmount sometimes. chroot again and do dpkg-reconfigure dmraid and hopefully it'll work.

EDIT: I'm now running kubuntu on a raid array just fine One thing I noticed was neccesarry is removing the "savedefault" line from grub or it will complain about a missing file.

Last edited by Rizado; December 26th, 2006 at 09:16 AM..
Rizado is offline   Reply With Quote
Old February 16th, 2007   #5
tomm3h
5 Cups of Ubuntu
 
Join Date: Feb 2007
Location: Birmingham, UK
Beans: 23
Ubuntu 7.04 Feisty Fawn
Re: Installing Edgy using fakeraid (AMD64)

Quote:
Originally Posted by Psylocke View Post
I got a little further with the following:

Download from https://launchpad.net/distros/ubuntu....rc13-2ubuntu1 :
- libc6
- libsepol
- libselinux
- libdevmapper
- dmraid

(I downloaded the normal .deb files and copied them to usb)

Started the Installer from Alternate CD till Partition disks and choose abort
Start shell
Install:
- libc6
- libsepol
- libselinux
- libdevmapper
- dmraid

Run "modprobe dm-mod"
Run "dmraid -ay"
Run "ls /dev/mapper" to see what devices you have
Type exit, now you will get to the patitioner and choose manual partitioning
After this the system installs on my RAID device till it gives an error with lilo (don't care about this, want to install GRUB later on.
Go back to shell again
- nano /target/etc/apt/sources.list (enable universe)
- chroot /target
- bash
Now I need to install dmraid, I tried "apt-get install dmraid" which tries to install raid but gives an error it is unable to start dmraid using /etc/init.d/dmraid.
I also tried to install the files I already downloaded above, this gave the same error.

Anyone know how to fix this?
Quote:
Originally Posted by Rizado View Post
YES thank you VERY MUCH! i've been pulling my hair over this for a few days now. Haven't been able to get dmraid installed during install.

Anyway I think I have the solution to your problem. Before going to chroot you need to mount proc and sys and dev.

mount --bin /dev /target/dev
mount -t proc proc /target/proc
mount -t sysfs sysfs /target/sys

You probably need to create those directorys first. If you still get the same error exit chroot and remount proc and sys, they seem to unmount sometimes. chroot again and do dpkg-reconfigure dmraid and hopefully it'll work.

EDIT: I'm now running kubuntu on a raid array just fine One thing I noticed was neccesarry is removing the "savedefault" line from grub or it will complain about a missing file.
Guys, firstly my hat is off to the pair of you. You two alone gave me the knowledge and wisdom with which to install onto my Sil3112A RAID0 set with Edgy.

However, I had a few issues and I'd like to contribute my experiences in case anyone else comes along with similar experience.

Firstly, prior to partitioning, when instructed to exit to the shell and install dmraid via gdpkg, I found that if installed anything other than libdevmapper and dmraid that it actually caused the partitioning portion of the installer to give an error and fail.

Through trial and error I found that installing libsepol and libselinux caused this (I can't comment on libc6 [edit: see below], as I can't quite remember. I have a feeling it was Ok, but I'm pretty sure I was OK with just libdevmapper and dmraid).

At that point I had all my partitions (already created with the live CD) under /dev/mapper, and I was able to continue the installation.

The second point I got really stuck on, was when installing dmraid the second time (onto /target, via apt-get). I found that re-mounting /proc and /sys wasn't really helping, so I had a look at the error dpkg was giving when trying to install dmraid.

Basically, it came down to dependancies -- I ran apt-get -f install, and it told me what needed to be done. Uninstallation of ubuntu-minimal and installation of libc6 (I *think*), but certainly ubuntu-minimal had to come out. I thought this was odd, and possibly suicidal but at that point I would've tried anything.

Hey presto, it worked. Installing the rest of the system went off without a hitch -- until the bootloader.

To install grub I concentrated on the https://help.ubuntu.com/community/FakeRaidHowto article, which details how to install grub manually. The FakeRaidEdgy article was very vague on this portion (eg. "maybe I tried this at some point") and, as in the aforementioned article; grub-installer doesn't work for toffee.

Thankfully grub is a little more dmraid-aware since Dapper, and the version included in Edgy seemed to require a lot less tweaking of the menu.lst for it to work. update-grub guessed almost every setting, save for the 'savedefault' attribute that needs to be removed.

So hopefully that might help anyone else following in my footsteps. I did try out Feisty's Herd 3 alternate CD, but got stuck in loops of errors in the installer. Maybe when it's released dmraid support will be native in both the installer and grub. We're nearly there anyway.

Thanks again, and good luck to all

Last edited by tomm3h; March 9th, 2007 at 11:48 AM.. Reason: Tidy-up, spelling/grammar
tomm3h is offline   Reply With Quote
Old March 7th, 2007   #6
vizerei
First Cup of Ubuntu
 
Join Date: Mar 2007
Beans: 1
Re: Installing Edgy using fakeraid (AMD64)

I was installing edgy with fakeraid when I came across this post.

Absolutely amazing, you 3 have got me further than I have gone yet and I've been banging my head against the keyboard for 2 days straight(day and late into the night).

However, I have some things to add as I still had issues:

When installing the dmraid, libdevmapper, etc. I found that I got the same error for the partitioner as the above guy.

The fix: don't modify the partition table, just include the packages and go straight into the partitioner, you will get 1 shot to partition everything and move on or it will error on you. If you have to edit the parition table and happen to get the error for whatever reason just reboot, install the libs and dmraid again, and go into the partitioner.

However, I believe this can be avoided by heeding the next issue I had, which involves NOT installing libc6.

When going to install the base system, I got an error just like with the partitioner.

The fix: after parsing the debug logs, I found something interesting. There was a reference to libc6 and how it was attempting to call dpkg instead of udpkg. I looked into the https://wiki.ubuntu.com/FakeRaidEdgy post and what libraries he was installing, I noticed that when using the "Alternate" Edgy CD, he did not install "libc6." I attempted to install libsepol, libselinux, libdevmapper, and dmraid WITHOUT installing libc6.

udpkg pitched a fit but, as in the FakeRaidEdgy wiki, the meat of the package was installed. I followed the rest of the directions and the base installation system now installs.

I'm writing this as it's installing and I hope all goes well.

Thanks again for the post guys, you rock.

Last edited by vizerei; March 7th, 2007 at 01:49 AM..
vizerei is offline   Reply With Quote
Old March 9th, 2007   #7
tomm3h
5 Cups of Ubuntu
 
Join Date: Feb 2007
Location: Birmingham, UK
Beans: 23
Ubuntu 7.04 Feisty Fawn
Re: Installing Edgy using fakeraid (AMD64)

Quote:
Originally Posted by vizerei View Post
I was installing edgy with fakeraid when I came across this post.

Absolutely amazing, you 3 have got me further than I have gone yet and I've been banging my head against the keyboard for 2 days straight(day and late into the night).

However, I have some things to add as I still had issues:

When installing the dmraid, libdevmapper, etc. I found that I got the same error for the partitioner as the above guy.

The fix: don't modify the partition table, just include the packages and go straight into the partitioner, you will get 1 shot to partition everything and move on or it will error on you. If you have to edit the parition table and happen to get the error for whatever reason just reboot, install the libs and dmraid again, and go into the partitioner.

However, I believe this can be avoided by heeding the next issue I had, which involves NOT installing libc6.

When going to install the base system, I got an error just like with the partitioner.

The fix: after parsing the debug logs, I found something interesting. There was a reference to libc6 and how it was attempting to call dpkg instead of udpkg. I looked into the https://wiki.ubuntu.com/FakeRaidEdgy post and what libraries he was installing, I noticed that when using the "Alternate" Edgy CD, he did not install "libc6." I attempted to install libsepol, libselinux, libdevmapper, and dmraid WITHOUT installing libc6.

udpkg pitched a fit but, as in the FakeRaidEdgy wiki, the meat of the package was installed. I followed the rest of the directions and the base installation system now installs.

I'm writing this as it's installing and I hope all goes well.

Thanks again for the post guys, you rock.
Glad you've had success, and that we could've helped!

I wasn't too clear on whether I installed libc6 or not, but from what you've said -- I can't have done. The install went as smooth as a button with only libdevmapper and dmraid installed prior to partitioning/mounting/formating.

Installing anything else and I couldn't even reach the partitioner once

I'm glad to have helped in some way!
tomm3h is offline   Reply With Quote
Old March 21st, 2007   #8
t_anjan
A Carafe of Ubuntu
 
Join Date: Jan 2007
Location: Chennai, India
Beans: 93
Ubuntu 7.10 Gutsy Gibbon
Re: Installing Edgy using fakeraid (AMD64)

Thank you to all you guys. I've used input from this thread in conjunction with the FakeRAIDEdgy wiki to get Edgy installed on my RAID system.

I've modified the FakeRAIDEdgy wiki. Now, I think, it is a completely working guide.
t_anjan is offline   Reply With Quote
Old March 21st, 2007   #9
zaubara
5 Cups of Ubuntu
 
Join Date: Mar 2005
Beans: 23
Re: Installing Edgy using fakeraid (AMD64)

Incredible, I have the same problem and I was playing around for two days aswell.
I'll try all that later this evening and report back, thank you all!

edit:

This worked really great for me, thank you so much!!
I think the only thing I left out was modprobing dm-mod But still, it all worked out fine finally!

Thanks again!

edit #2:

Well, I guess I was a little too excited when I saw that little bar moving , but it still does work now

Theres one thing that didn't work for me: grub-gfxboot
update-grub threw an error, although I did most things like in the tutorial (the copy-files-from-root-to-chroot didn't work exactly that way because I dl'ed all files through wget ), so I had to improvise:
I removed grub-gfxboot again, apt-get'ed inside the chroot the normal grub and - only on the second try, the one I added the universe-repo - I was finally able to install grub.

For anything else it worked out like intended.

Thank you!

Last edited by zaubara; March 21st, 2007 at 10:28 PM..
zaubara is offline   Reply With Quote
Old March 22nd, 2007   #10
t_anjan
A Carafe of Ubuntu
 
Join Date: Jan 2007
Location: Chennai, India
Beans: 93
Ubuntu 7.10 Gutsy Gibbon
Re: Installing Edgy using fakeraid (AMD64)

Maybe I didn't understand you properly.........were you able to get dmraid to work without modprobing dm-mod?

Could you explain what error "update-grub" threw up? And what do you mean by 'copy files from root to chroot'?

If you could say what the error was exactly, maybe we could use it to improve the wiki.

Last edited by t_anjan; March 22nd, 2007 at 06:12 AM..
t_anjan is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:28 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry