I managed to activate apt-get with DVD repository, but am stuck with
Feisty glibc conflict at the moment. See the end of my post for some
ways to finish the installation. Any suggestions?

Steps: install dmraid udebs as above, dmraid -ay, partition with manager

Execute shell

{{{
# parted /dev/mapper/isw_ddeheebhbf_Volume0
(parted) print
(parted) resize 2 157GB 500GB
(parted) mkpartfs logical linux-swap 210GB 212GB
(parted) mkpart logical 212GB 369GB
(parted) quit
# mkfs.ext3 -c -j -L "ubuntu32" -m 0.1 -O dir_index,resize_inode 
/dev/mapper/isw_ddeheebhbf_Volume08
...
This filesystem will be automatically checked every 29 mounts or 180 days, 
whichever comes first. Use tune2fs -c or -i to override.
}}}

Only check after a period of time (180 days), disable mount check:

{{{
# tune2fs -c 0 /dev/mapper/isw_ddeheebhbf_Volume08
Setting maximal mount count to -1
# mkdir /target
# mount -t ext3 /dev/mapper/isw_ddeheebhbf_Volume08 /target -o 
errors=remount-ro,data=writeback,noatime,commit=30
# mkdir /target/boot
# mkdir /target/dev
# mount --bind /dev /target/dev
# mkdir /target/proc
# mount -t proc proc /target/proc
mount: Mounting proc on /target/proc failed: No such file or directory
# mkdir /target/sys
# mount -t sysfs sysfs /target/sys
}}}

Installing base system:

{{{
# cd /target
# apt-get install debootstrap
/bin/sh: apt-get: not found
}}}

debootstrap is already available, so error can be ignored

Network: Marvell Yukon (88E8056), no Internet access!
Let debootstrap use the Ubuntu Edgy DVD.

{{{
# debootstrap edgy /target file:/cdrom/ubuntu
I: Configuring...
...
I: Base system installed successfully.
}}}

I do not find /etc/apt/sources.list which is mentioned in the
FakeRaidHowto for copying. I create one with the following content,
making up the name of the DVD (is it mentioned somewhere?):

{{{
#deb http://archive.ubuntu.com/ubuntu edgy main
deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025.1)]/ edgy main 
restricted
}}}

{{{
# cp -a /root/*deb /target/root
# chroot /target
# bash
# cd /root
# dpkg -i libc6_2.5-0ubuntu5_i386.deb
...
Preparing to replace libc6 2.4-1ubuntu12 (using ...) ...
...
Setting up...
Installing new version of config file /etc/init.d/glibc.sh ...
# dpkg -i libdevmapper1.02_1.02.08-1ubuntu1_i386.deb
Preparing to replace libdevmapper1.02 2:1.02.07-1ubuntu2...
# dpkg -i libsepol1_1.14-2_i386.deb
Replacing 1.12-1
# dpkg -i libselinux1_1.32-3_i386.deb
Replacing 1.30-1ubuntu1
# dpkg -i dmraid_1.0.0.rc13-2ubuntu1_i386.deb
invoke-rc.d: initscript dmraid, action "start" failed.
dpkg: error processing dmraid (--install):
 subprocess post-installation script returned error exit status 1
}}}

leave chroot env now

{{{
# <CTRL-d>
# <CTRL-d>
}}}

Mount/remount some devices...

{{{
# mount --bind /dev /target/dev -o remount
# mount -t sysfs sysfs /target/sys
# mount -t proc proc /target/proc
}}}

I can install dmraid now:

{{{
# chroot /target
# dpkg -i root/dmraid_1.0.0.rc13-2ubuntu1_i386.deb
...
 * Shutting down DMRAID devices...
   ...done.
Unpacking replacement dmraid ...
Setting up dmraid (1.0.0.rc13-2ubuntu1) ...
 * Setting up DMRAID devices...
   ...done.
# apt-get install grub
  libc6-i686: PreDepends: libc6 (= 2.4-1ubuntu12) but 2.5-0ubuntu5 is to be 
installed
E: Unmet dependencies...
# CTRL-d
# CTRL-d
}}}

Okay, I need one more Feisty package:
grub_0.97-20ubuntu1_i386.deb

...copy package to /target/root via USB stick...

I try to activate apt-get:

{{{
# cp /etc/hosts /target/etc
# mkdir /target/cdrom
# cat /etc/mtab >/target/etc/fstab
}}}

Edit /target/etc/fstab with nano to the following content:

{{{
none /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/scd0 /cdrom iso9660 ro 0 0
/dev/mapper/isw_ddeheebhbf_Volume08 / ext3 rw,noatime 0 1
/dev/mapper/isw_ddeheebhbf_Volume07 none swap sw 0 0
}}}

{{{
# chroot /target
# bash
# cd root
# dpkg -i grub_0.97-20ubuntu1_i386.deb
}}}

For figuring the following out I needed more than one hour...

{{{
# apt-cdrom -d=/cdrom add
}}}

/etc/fstab was changed by the system, remove "target".

{{{
# apt-get install linux-generic
  libc6-i686: PreDepends: libc6 (=2.4-1ubuntu12) but 2.5-0ubuntu5 is to be 
installed
}}}

I think that backporting a new version of dmraid to edgy would help with
some issues.

I will install Ubuntu Edgy on my old computer to have a development
system.

I don't know if I manage to finish the RAID installation with the new
glibc from Feisty.

Eventually it is easier to backport dmraid and fix the installer than to
fiddle around with manual guesswork to imitate all necessary
installation steps.

-- 
DMRAID stopped to work in kernels > 2.6.15
https://launchpad.net/bugs/54246

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to