[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booth at FSCONS 2012


On Tue, Nov 6, 2012 at 9:26 AM, Luca Capello <luca@pca.it> wrote:
> Hi Per!
> On Mon, 05 Nov 2012 23:52:58 +0100, Per Andersson wrote:
>> On Mon, Nov 5, 2012 at 11:49 PM, Luca Capello <luca@pca.it> wrote:
>>> The above works also OK on a KVM/libvirt installation: replace the three
>>> occurrences of sda in 00del_partition, babelbox-grub and cronscript.
>> Any reason I would want to do that?
> At least one: you do not want to block a machine for BabelBox only.
> This was the idea behind the Debian Events Box: you start BabelBox in a
> VM, so you still have a demo machine that can be tried out by the users
> or on which you can show other software.

Ok, I'll lock the machine to BabelBox for now. :-)

>>> For wheezy, if you want to show GNOME 3 you need 3D, which means that
>>> you should probably also install one of the firmware-* packages.  The
>>> following patch should be enough, tested on the Debian Events Box, but
>>> not yet on a VM (and I will polish it before committing...):
>> I'll try them out. Will it work with the graphics card on a thinkpad x61s do you
>> think?
> I have never tried it, but given that it does not require any external
> firmware package everything should be fine from the beginning.  In fact,
> according to ThinkWiki:
>   <http://www.thinkwiki.org/wiki/Category:X61s>
>   ThinkPad X61s
>   Standard Features
>   Intel Graphics Media Accelerator X3100
>     12.1" TFT display with 1024x768 resolution


> The Debian Events Box has an ATI Mobility Radeon HD 5400 Series
> (1002:68e0), which is the reason why it needs a non-free firmware.

Ah, of course. I wondered why I needed extra firmware for the intel
graphics card. Although extra firmware is needed for the wireless so
I might as well install.

>>> --8<---------------cut here---------------start------------->8---
>>> index 708775c..7d9bffc
>>> --- a/preseed_late
>>> +++ b/preseed_late
>>> @@ -13,10 +13,20 @@ mount /dev/discs/disc0/part1 /hd-media -o remount,rw
>>>  sed -i "s/^set default=.*$/set default=\"3\"/" /hd-media/boot/grub/grub.cfg
>>> +# Install extra packages, e.g. firmware needed for graphics cards
>>> +for I in $(find /hd-media/srv/babelbox/ -type f -name \*.deb -maxdepth 1 2>&1) ; do
>>> +       cp -f "$I" /target/var/cache/apt/archives/
>>> +       chroot /target dpkg -i /var/cache/apt/archives/$(basename "$I")
>>> +done
>>>  if [ -d /target/etc/gdm3 ] ; then
>>>         # Enable automatic login (chroot because of bug in busybox sed)
>>>         chroot /target sed -i "/^\[daemon\]/a\AutomaticLoginEnable = true\nAutomaticLogin = debian" /etc/gdm3/daemon.conf
>>>  fi
>>> +if [ -x /target/usr/sbin/plymouth-set-default-theme ] ; then
>>> +       # Set default plymouth theme
>>> +       chroot /target plymouth-set-default-theme spacefun
>>> +       chroot /target dpkg-reconfigure plymouth
>>> +fi
>>>  exit 0
>>> --8<---------------cut here---------------end--------------->8---
>>> Please report your experience :-)
>> Of course!
> Do you mind testing everything without the above patch for preseed_late?
> As I wrote above, you should not need the extra firmware packages and
> the plymouth stuff is not fully tested.

Removed plymouth and extra firmware.

It still hangs on iso-scan of /dev/sda3 (the extended partition). A
wild guess is
that iso-scan can't handle it correctly, last thing in the logs state that it is
waiting for /dev/sda2. (Is this a bug in iso-scan, being confused about how to
handle extended partitions?)

Can I prepare /dev/sda3 somehow?


Reply to: