I was looking for How to install Ubuntu 8.10 at P-6860FX with RAID storage. Finally I succeeded installation after working on for a couple of hours.
First, you can look at the original HOWTO manual at https://help.ubuntu.com/community/Fa...0Contributions, As you might see, P-6860FX is slightly different from the environment of the URL. So If you are installing Ubuntu 8.10 64bit on P-6860FX, try what I did. I hope this helps.
# Boot the Live CD
# Enabled the community content
# Opened terminal
# "sudo apt-get install dmraid"
# "sudo modprobe dm-raid4-5"
# "sudo dmraid -ay"
# "cd /dev/mapper"
# Check for existence of my raid 'isw_dgjcdfjaia_SPARK' by running "ls" (SPARK is name of RAID when I create the RAID at BIOS level)
# "ls -l /dev/mapper"
total 0
crw-rw---- 1 root root 10, 60 2009-02-10 09:09 control
brw-rw---- 1 root disk 254, 0 2009-02-10 09:09 isw_dgjcdfjaia_SPARK
brw-rw---- 1 root disk 254, 1 2009-02-10 09:09 isw_dgjcdfjaia_SPARK1
# "sudo fdisk -l /dev/mapper/isw_dgjcdfjaia_SPARK
Disk /dev/mapper/isw_dgjcdfjaia_SPARK: 320.0 GB, 320079134720 bytes
255 heads, 63 sectors/track, 38914 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdd8de479
Device Boot Start End Blocks Id System
/dev/mapper/isw_dgjcdfjaia_SPARK1 * 1 35247 283121495+ 7 HPFS/NTFS
* In my case:
o isw_dgjcdfjaia_SPARK1 was existing Windows partition. (You may see different)
# Started Ubuntu installer "ubiquity"
# In the installer, it saw the raid volume. Told it to do the 'guided' partitioning on the raid volume and create partitions on the existing free space.
# After partitioning, I got following
# "sudo fdisk -l /dev/mapper/isw_dgjcdfjaia_SPARK
Device Boot Start End Blocks Id System
/dev/mapper/isw_dgjcdfjaia_SPARK1 * 1 35247 283121495+ 7 HPFS/NTFS
/dev/mapper/isw_dgjcdfjaia_SPARK2 35248 35309 498015 83 Linux
/dev/mapper/isw_dgjcdfjaia_SPARK3 35310 38416 24956977+ 83 Linux
/dev/mapper/isw_dgjcdfjaia_SPARK4 38417 38914 4000185 82 Linux swap / Solaris
# "ls -l /dev/mapper"
total 0
crw-rw---- 1 root root 10, 60 2009-02-10 09:09 control
brw-rw---- 1 root disk 254, 0 2009-02-10 09:09 isw_dgjcdfjaia_SPARK
brw-rw---- 1 root disk 254, 1 2009-02-10 09:09 isw_dgjcdfjaia_SPARK1
brw-rw---- 1 root disk 254, 2 2009-02-10 17:10 isw_dgjcdfjaia_SPARK2
brw-rw---- 1 root disk 254, 3 2009-02-10 17:09 isw_dgjcdfjaia_SPARK3
brw-rw---- 1 root disk 254, 4 2009-02-10 09:09 isw_dgjcdfjaia_SPARK4
# Under advanced, told it not to install grub(Uncheck installer).
# After install, the "/target" mount point was "busy" so re-booted the LiveCD and re-ran steps 1-8 so could add dmraid to the installation and manually install and configure grub. Keep running steps 1-8 until get it right.
# "sudo fdisk isw_dgjcdfjaia_SPARK" and do a list to see how the partitions were setup.
* In my case:
o isw_dgjcdfjaia_SPARK2 was added as the /boot partition.
o isw_dgjcdfjaia_SPARK3 was added as the linux partition.
o isw_dgjcdfjaia_SPARK4 was added as the swap partition.
# "sudo mkdir /target"
# "sudo mount isw_dgjcdfjaia_SPARK3 /target"
# "sudo mount -t ext2 /dev/mapper/isw_dgjcdfjaia_SPARK2 /target/boot" (if you make a separate partition for /boot)
# copy configuration files
# "sudo cp /etc/apt/sources.list /target/etc/apt"
# "sudo cp /etc/resolv.conf /target/etc"
# "sudo cp /etc/hosts /target/etc/hosts"
# "sudo cp /etc/network/interfaces /target/etc/network"
# "sudo mount --bind /dev /target/dev"
# "sudo mount -t proc proc /target/proc"
# "sudo mount -t sysfs sys /target/sys"
# "sudo chroot /target"
# "apt-get update"
# "apt-get install dmraid"
# "apt-get install grub"
# "mkdir /boot/grub"
# "cp /usr/lib/grub/i386-pc/* /boot/grub" [for i386 Ubuntu installs]
* or use: "cp /usr/lib/grub/x86_64-pc/* /boot/grub" [for 64-bit Ubuntu installs]
# "grub --no-curses"
# "device (hd0) /dev/mapper/isw_dgjcdfjaia_SPARK"
# "find /boot/grub/stage1" [use "find /grub/stage1" instead if you have a /boot partition] and make a note of the partition it finds, you will use that below a few times.
#
"root (hd0,x)" (substituting the results of the previous step for x)
# "setup (hd0)"
# "quit"
# "update-grub" and said yes to creating new menu.lst file.
# "nano /boot/grub/menu.lst"
#
Changed the '# groot=(hd0,0)' to '# groot=(hd0,x)' (using the partition you found earlier, again).
# Changed this in the boot entries below also.
# Added the Windows boot entry.
* title Windows root (hd0,0) # use the correct partition for Windows, of course chainloader +1
# Changed the delay to '30' and commented the 'hiddenmenu' option.
* Noted that savedefault was set to false.
# Added for the Windows Vista between "recover mode" and "memtest86+"
title Windows Vista Ultimate 64 SP1
rootnoverify (hd0,0)
makeactive
chainloader +1
-------------------------------------
# Save and exit nano.
# "update-grub" and kept the local file.
# Reboot and verify both Ubuntu and the existing Vista partition boot.
seungweon@spark-nb:/boot/grub$ ls -l /dev/mapper
total 0
crw-rw---- 1 root root 10, 60 2009-02-10 09:09 control
brw-rw---- 1 root disk 254, 0 2009-02-10 09:09 isw_dgjcdfjaia_SPARK
brw-rw---- 1 root disk 254, 1 2009-02-10 09:09 isw_dgjcdfjaia_SPARK1
brw-rw---- 1 root disk 254, 2 2009-02-10 17:10 isw_dgjcdfjaia_SPARK2
brw-rw---- 1 root disk 254, 3 2009-02-10 17:09 isw_dgjcdfjaia_SPARK3
brw-rw---- 1 root disk 254, 4 2009-02-10 09:09 isw_dgjcdfjaia_SPARK4
seungweon@spark-nb:/boot/grub$
Good Luck!!
spark.
0 comments:
Post a Comment