config questions

Alex Volkov avolkov at gmail.com
Wed May 28 21:23:22 CEST 2008


Could you send me complete output of fai-setup -v ?

Alex.

On Wed, 2008-05-28 at 12:56 -0600, Bjorn Meyer wrote:
> Unfortunately, now I am unable to successfully run fai-setup -v.
> I wanted to do a reinstall so that I knew what steps I took to get a
> running install. That didn't work so well.
> I get the following as the last few lines before aborting.
> 
> Shadow passwords are now on.
> rm: cannot remove `dev/MAKEDEV': No such file or directory
> Aborting
> Removing `local diversion of /sbin/discover-modprobe to
> /sbin/discover-modprobe.distrib'
> 
> 
> 
> On Wed, May 28, 2008 at 10:45 AM, Alex Volkov <avolkov at gmail.com> wrote:
> > On Tue, 2008-05-27 at 10:49 -0600, Bjorn Meyer wrote:
> >> On Tue, May 27, 2008 at 10:16 AM, Bjorn Meyer <bjorn.m.meyer at gmail.com> wrote:
> >> > I am as sure as what I have seen in the logs. I do agree, that
> >> > something didn't complete correctly. However that is is little odd
> >> > since it works fine if I just take out the /boot partition and let it
> >> > install to /.
> >> >
> >> > I will try another install and check this before I reboot. If it is
> >> > wrong, I will try to edit and see what the results are.
> >> >
> >> > Thanks for pointing that out. I did dig through that a bit, but
> >> > skipped right over that one.
> >> >
> >> > Bjorn
> >> >
> >> >
> >> > On Tue, May 27, 2008 at 12:53 AM, Eymen Alyaz <alyaz at ins.uni-bonn.de> wrote:
> >> >> Bjorn Meyer schrieb:
> >> >>> ...
> >> >>> Here are the 2 kernel entries that it creates.
> >> >>>
> >> >>> title           Debian GNU/Linux, kernel 2.6.18-6-686
> >> >>> root            (hd0,0)
> >> >>> kernel          /vmlinuz-2.6.18-6-686 root=/dev/hda5 ro
> >> >>> initrd          /initrd.img-2.6.18-6-686
> >> >>
> >> >> according to your parition layout, the kernel line should look like:
> >> >> kernel /vmlinuz-2.6.18-6-686 root=/dev/hda2, not /dev/hda5.
> >> >> because you partitioned with:
> >> >>
> >> >> (look at your first mail)
> >> >> disk_config disk1
> >> >> primary     /boot     100     defaults     ;boot -j ext3
> >> >> primary     /         1024    defaults     ;-c -j ext3
> >> >> #logical     /         1024    defaults     ;-c -j ext3
> >> >> logical     swap      500
> >> >>
> >> I tried again, and the menu list is being set up correctly. With the
> >> above config, it is being set to hda2.
> >> If I set / to be logical it is being set to hda5.
> >> My apologies, I may have pasted this incorrectly.
> >>
> >> >> are you sure grub is properly installed?
> >> >>
> >> >> Regards,
> >> >> Eymen Alyaz
> >> >>
> >> >>
> >> >
> >
> > Maybe grub setup script did not run properly. Check that a
> > file /srv/fai/config/files/boot/grub/menu.lst/postinst
> > contains something like the following:
> > ########################################
> > #! /bin/bash
> >
> > error=0 ; trap "error=$((error|1))" ERR
> >
> > set -a
> >
> > # during softupdate use this file
> > [ -r $target/var/log/fai/disk_var.sh ] && .
> > $target/var/log/fai/disk_var.sh
> >
> > # if class NOMBR is defined, write boot loader into root partition, not
> > into mbr
> > ifclass NOMBR && BOOT_DEVICE=$BOOT_PARTITION
> >
> > grub-install --no-floppy --root-directory=$target $BOOT_DEVICE
> > GROOT=$(device2grub $BOOT_PARTITION)
> > perl -pi -e 's/#(\w+)#/$ENV{$1}/' $2
> > $ROOTCMD /usr/sbin/update-grub
> > echo "Grub installed on $BOOT_DEVICE on $GROOT"
> >
> > exit $error
> > ###################################################
> > and its permissions are set to executable. I had similar problems
> > booting into the new system, when I accidentally deleted the file.
> >
> >
> > Alex.
> >
> >
> >



More information about the linux-fai mailing list