<br><tt><font size=2>> From: "Tim Moody" <timmoody@sympatico.ca><br>
> I took a much less heroic approach to getting a dual boot XS and other
Linux <br>
> machine. I put two drives in the box and installed linux on
the second. I <br>
> then disconnected the ribbon cable from that drive and did a livecd
install <br>
> of xs 163 (which doesn't allow any partitioning). Now I can
re-connect the <br>
> second drive and fix up grub to be dual boot. This doesn't address
the raid <br>
> issue.<br>
<br>
> I'd also be happy to compare notes on Moodle + Postgre.<br>
<br>
Tim,</font></tt>
<br><tt><font size=2>Thanks. Yes, a friend came over to help, and
we figured out the various</font></tt>
<br><tt><font size=2>problems I was having. The original request
had a list of "must haves"</font></tt>
<br><tt><font size=2>and "nice to haves" ( http://wiki.laptop.org/go/Educational_Blogger_Project
)</font></tt>
<p><font size=3>We need </font>
<br><font size=2 face="sans-serif">1. </font><font size=3>A
box and someone to image it with XS code (Tony) </font>
<br><font size=2 face="sans-serif">2. </font><font size=3>A
primary sys admin and support for them (Marcel) </font>
<br><font size=2 face="sans-serif">3. </font><font size=3>An
IP address, BW and a hosting location (Glen) </font>
<p><font size=3>Must haves: </font>
<ul>
<li><font size=3>Ethernet configured for connection to Internet </font>
<ul>
<li><font size=3>Accessible from XO laptops in Uruguay via HTTP </font>
<li><font size=3>Remote administration through SSH/FTP </font></ul>
<ul>
<li><font size=3>XS Software stack with web server, database, and utilities
</font>
<li><font size=3>Recover CDs or DVDs </font></ul><font size=3>Nice to haves:
</font>
<ul>
<li><font size=3>Alternative OS such as Debian 4.0-r3 Etch with Dual-boot
option and Grub loader </font>
<li><font size=3>Alternative databases (MySQL versus PostgreSQL) </font>
<li><font size=3>Logical Volume Manager (LVM2) </font>
<li><font size=3>RAID-1 configuration between the two SATA disks </font>
<li><font size=3>Backup through Mondo Rescue, SysRescueCD, Partimage, or
similar </font>
<li><font size=3>KVM virtualization that would allow other images to run
as Linux guests </font>
<li><font size=3>Ability to hot-add USB keys or USB external drives </font>
<li><font size=3>Install "git" source code revision management
software (yum install git-core) </font></ul>
<br><tt><font size=2>Lesson 1-- A kernel panic happens when there is a
mismatch between the </font></tt>
<br><tt><font size=2>following three files:</font></tt>
<br>
<br><tt><font size=2>/boot/grub/menu.lst</font></tt>
<br><tt><font size=2>/etc/fstab</font></tt>
<br><tt><font size=2>/etc/mtab</font></tt>
<br>
<br><tt><font size=2>My problem was that I would change one thing at a
time, reboot and see how</font></tt>
<br><tt><font size=2>it worked, but in this case you need to make sure
all the changes are made</font></tt>
<br><tt><font size=2>consistently before rebooting.</font></tt>
<br>
<br><tt><font size=2>Lesson 2-- The XS163.iso, Fedora7 and Debian4 all
assume that if you have</font></tt>
<br><tt><font size=2>two drives attached, that you want LVM2 and RAID pre-configured.
In the</font></tt>
<br><tt><font size=2>case of XS163.iso, this meant that the line "--clearpart
--all --sda" fails</font></tt>
<br><tt><font size=2>because in "LVM2+RAID" install mode, it
changes sda to /dev/mapper/pdc_bbbh.</font></tt>
<br>
<br><tt><font size=2>My problem was that I had bult the hardware to its
complete finished version,</font></tt>
<br><tt><font size=2>and then tried to do the installations. By disconnecting
"drive 2" and doing</font></tt>
<br><tt><font size=2>most of the work with only a single drive, all the
OS images were quite happy.</font></tt>
<br><tt><font size=2>Even the native vanilla XS-163.iso installed on this
machine without problems.</font></tt>
<br>
<br><tt><font size=2>I now have triple-boot working (XS-163, Fedora 7,
and Debian 4), reconnected</font></tt>
<br><tt><font size=2>the second drive, and am successfully RAID-1 mirroring
the /boot directory</font></tt>
<br><tt><font size=2>over to the second drive! I will work on mirroing
and converting the </font></tt>
<br><tt><font size=2>partitions into LVM2 logical volumes next. Then
try to figure out the </font></tt>
<br><tt><font size=2>Moodle+PostgreSQL situation after that.</font></tt>
<br>
<br><tt><font size=2>I'm keeping notes in this wiki page:</font></tt>
<br><tt><font size=2>http://wiki.laptop.org/go/User:Az990tony/edublog-beta-sw</font></tt>
<br>
<br><tt><font size=2>Thanks<br>
</font></tt><font size=2 face="sans-serif"><br>
</font>
<table>
<tr>
<td bgcolor=#006699>
<td bgcolor=#006699>
<tr>
<td><img src=cid:_2_072A2330072A1F74005ECFFA8725746D>
<td><font size=1 color=#0060a0 face="Microsoft Sans Serif"><b>Tony Pearson</b></font><font size=1 face="Microsoft Sans Serif"><br>
Senior Storage Consultant, IBM System Storage™<br>
Telephone: +1 520-799-4309 | tie 321-4309 | Cell: +1 520 990-8669<br>
email: tpearson@us.ibm.com | GSA: http://tucgsa.ibm.com/~tpearson<br>
Blog: </font><a href=http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage><font size=1 color=blue face="Microsoft Sans Serif"><u>http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage</u></font></a><font size=1 face="Microsoft Sans Serif"><br>
AKA: 990tony Paravane, eightbar specialist </font>
<tr>
<td bgcolor=#006699>
<td bgcolor=#006699></table>
<br></ul>