You are not logged in.

#1 2009-07-11 18:28:43

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Fighting with Archiso...

Hello everybody,

I discovered ArchLinux some days ago and really liked it. Now I'm playing around with Archiso (or at least I'm trying), but it seems Archiso does not like me.

Whenever I run "make all" after doing everything mentioned in the Wiki, the following output is shown:

$ LANG=C sudo make all
mkarchiso -p "`cat packages.list` grub-gfx" create "work"
mkarchiso : Configuration Settings
        working directory:   work
               image name:   none
====> Creating working directory: work
====> Installing packages to 'work/root-image/'
make: *** [root-image] Error 1

Does anybody have an idea what's my mistake?

Greetings from germany (please excuse my bad english)
Stephan

Offline

#2 2009-07-11 20:53:46

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Re: Fighting with Archiso...

Done.

The error was I used ArchLinux in ~/Documents, whic is a symlink to /windows/Dokumente und Einstellungen/... . Obviously Archiso did not like the whitespace.

Offline

#3 2009-07-12 11:58:15

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Re: Fighting with Archiso...

Okay, it's me again wink

After creating my iso image and booting in VirtualBox (OSE), the following error occured:

No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,17)
Pid: 1, comm: swapper Not tainted 2.6.30-ARCH #1
Call Trace:

followed by a call trace of several lines I do not want to copy... What's the problem NOW? Am I just too stupid?

Offline

#4 2009-07-15 15:45:18

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: Fighting with Archiso...

I'm afraid I can't help you with archiso - and it seems that no one else can either ?!? - but I would mention that you probably won't have much fun with virtualbox at the moment, as there is a bug which causes it to crash with the 2.6.30 kernel as guest. qemu works, though.

An alternative to archiso is larch, with which I might be able to help, except that I'm away for a couple of weeks ...

Offline

#5 2009-07-15 15:58:58

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Re: Fighting with Archiso...

Thank you! Maybe this IS a VirtualBox error? So I'll try qemu... Maybe it works.

And I already had a look at Larch, but Archiso looks more interesting to me. Maybe I'll try it, though.

There are no bugs - just stupid users (like me)! wink

Greetings from Germany,
Stephan

Offline

#6 2009-07-15 16:28:27

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Fighting with Archiso...

GermanTrainFreak wrote:

Okay, it's me again wink

After creating my iso image and booting in VirtualBox (OSE), the following error occured:

No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,17)
Pid: 1, comm: swapper Not tainted 2.6.30-ARCH #1
Call Trace:

followed by a call trace of several lines I do not want to copy... What's the problem NOW? Am I just too stupid?

If you get this, there was very likely an error while building. check the output carefully. your host system is installed with all latest core packages right? (incl kernel)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#7 2009-07-15 16:44:22

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Re: Fighting with Archiso...

[stephan@stephan CaveLinux]$ sudo make clean; sudo LANG=C make all
Passwort: 
rm -rf "work" "`pwd`/CaveLinux-b09-07-`uname -m`".img "`pwd`/CaveLinux-b09-07-`uname -m`".iso
mkarchiso -p "`cat packages.list` grub-gfx" -v create "work"
mkarchiso : Configuration Settings
        working directory:   work
               image name:   none
====> Creating working directory: work
====> Installing packages to 'work/root-image/'
mounting sysfs : /sys
mounting procfs : /proc
binding device nodes : /dev
binding pacman cache : /var/cache/pacman
installing packages:
    aufs2-util
    base
    bash
    coreutils
    cpio
    dhcpcd
    dnsutils
    file
    fuse
    kernel26
    vi
    grub-gfx
Root      : /home/stephan/Projekte/CaveLinux/work/root-image/
Conf File : /etc/pacman.conf
DB Path   : /home/stephan/Projekte/CaveLinux/work/root-image/var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/  
Lock File : /home/stephan/Projekte/CaveLinux/work/root-image/var/lib/pacman/db.lck
Log File  : /home/stephan/Projekte/CaveLinux/work/root-image/var/log/pacman.log
Targets   : aufs2-util  base  bash  coreutils  cpio  dhcpcd  dnsutils  file  
            fuse  kernel26  vi  grub-gfx  
:: Synchronizing package databases...
 core                      33.4K  293.9K/s 00:00:00 [#####################] 100%
 extra                    382.3K  417.1K/s 00:00:01 [#####################] 100%
 community                371.6K  377.3K/s 00:00:01 [#####################] 100%
base package not found, searching for group...
:: group base (including ignored packages):
    acl  attr  bash  binutils  bzip2  coreutils  cpio  cracklib  cryptsetup  
    dash  db  dbus-core  dcron  device-mapper  dhcpcd  dialog  diffutils  
    dmapi  e2fsprogs  file  filesystem  findutils  gawk  gcc-libs  gdbm  
    gen-init-cpio  gettext  glibc  grep  groff  grub  gzip  hdparm  
    initscripts  iputils  jfsutils  kbd  kernel-headers  kernel26  
    kernel26-firmware  klibc  klibc-extras  klibc-kbd  klibc-module-init-tools  
    klibc-udev  less  libarchive  libdownload  libgcrypt  libgpg-error  
    libpcap  libusb  licenses  logrotate  lvm2  lzo2  mailx  man-db  man-pages  
    mdadm  mkinitcpio  mlocate  module-init-tools  nano  ncurses  net-tools  
    pacman  pacman-mirrorlist  pam  pciutils  pcmciautils  pcre  perl  popt  
    ppp  procinfo  procps  psmisc  readline  reiserfsprogs  rp-pppoe  sdparm  
    sed  shadow  sysfsutils  syslog-ng  sysvinit  tar  tcp_wrappers  texinfo  
    tzdata  udev  usbutils  util-linux-ng  vi  wget  which  wpa_supplicant  
    xfsprogs  zlib  
:: Install whole content? [Y/n] 
resolving dependencies...
looking for inter-conflicts...
warning: removing 'grub' from target list because it conflicts with 'grub-gfx'

Targets (108): kernel-headers-2.6.30.1-1  tzdata-2009j-1  glibc-2.10.1-3  
               aufs2-util-20090406-2  ncurses-5.7-2  readline-6.0.00-1  
               bash-4.0.024-1  attr-2.4.43-1  acl-2.2.47-2  zlib-1.2.3.3-3  
               cracklib-2.8.13-2  gcc-libs-4.4.0-5  db-4.7.25.4-1  pam-1.0.4-1  
               shadow-4.1.3.1-1  gmp-4.3.1-2  coreutils-7.4-1  cpio-2.9-5  
               dhcpcd-5.0.4-1  gdbm-1.8.3-6  perl-5.10.0-4  openssl-0.9.8k-2  
               dnsutils-9.6.0.P1-2  file-5.03-2  fuse-2.7.4-3  
               kernel26-firmware-2.6.30-1  filesystem-2009.01-2  
               findutils-4.4.2-1  gen-init-cpio-2.6.17-3  pcre-7.9-1  
               grep-2.5.4-3  gzip-1.3.12-6  klibc-1.5.15-3  klibc-extras-2.5-4  
               kbd-1.15-1  klibc-kbd-1.15.20080312-10  
               klibc-module-init-tools-3.8-1  klibc-udev-141-3  sed-4.2.1-1  
               e2fsprogs-1.41.6-1  util-linux-ng-2.14.2-1  udev-141-3  
               mkinitcpio-0.5.25-1  module-init-tools-3.8-1  
               kernel26-2.6.30.1-1  vi-7.2.65-1  grub-gfx-0.97-11  
               binutils-2.19.1-5  bzip2-1.0.5-4  device-mapper-1.02.32-2  
               libgpg-error-1.6-1  texinfo-4.13a-3  libgcrypt-1.4.4-2  
               popt-1.14-1  cryptsetup-1.0.6-3  dash-0.5.5.1-2  expat-2.0.1-2  
               dbus-core-1.2.14-1  dcron-3.2-4  dialog-1.1_20080819-2  
               diffutils-2.8.1-6  dmapi-2.2.10-1  gawk-3.1.6-3  gettext-0.17-3  
               groff-1.20.1-2  hdparm-9.15-1  net-tools-1.60-14  
               sysvinit-2.86-5  initscripts-2009.03-2  iputils-20071127-2  
               jfsutils-1.1.14-1  less-429-1  xz-utils-4.999.8beta-4  
               libarchive-2.7.0-2  libdownload-1.3-3  libpcap-1.0.0-1  
               libusb-0.1.12-3  licenses-2.4-1  logrotate-3.7.8-1  
               lvm2-2.02.47-2  lzo2-2.03-1  mailx-8.1.1-7  man-db-2.5.5-2  
               man-pages-3.21-1  mdadm-2.6.9-1  mlocate-0.22-1  nano-2.0.9-2  
               pacman-mirrorlist-20090616-1  pacman-3.2.2-1  pciutils-3.1.2-1  
               sysfsutils-2.1.0-5  pcmciautils-015-2  ppp-2.4.4-8  
               procinfo-19-3  procps-3.2.8-1  psmisc-22.7-1  
               reiserfsprogs-3.6.21-1  rp-pppoe-3.10-1  sdparm-1.03-2  
               syslog-ng-3.0.1-6  tar-1.22-1  tcp_wrappers-7.6-10  
               usbutils-0.82-1  wget-1.11.4-1  which-2.20-1  libnl-1.1-1  
               wpa_supplicant-0.6.9-2  xfsprogs-3.0.1-1  

Total Download Size:    0.00 MB
Total Installed Size:   422.83 MB

Proceed with installation? [Y/n] 
checking package integrity...
(  1/108) installing kernel-headers                 [#####################] 100%
(  2/108) installing tzdata                         [#####################] 100%
(  3/108) installing glibc                          [#####################] 100%
(  4/108) installing aufs2-util                     [#####################] 100%
(  5/108) installing ncurses                        [#####################] 100%
(  6/108) installing readline                       [#####################] 100%
(  7/108) installing bash                           [#####################] 100%
(  8/108) installing attr                           [#####################] 100%
(  9/108) installing acl                            [#####################] 100%
( 10/108) installing zlib                           [#####################] 100%
( 11/108) installing cracklib                       [#####################] 100%
( 12/108) installing gcc-libs                       [#####################] 100%
( 13/108) installing db                             [#####################] 100%
( 14/108) installing pam                            [#####################] 100%
( 15/108) installing shadow                         [#####################] 100%
( 16/108) installing gmp                            [#####################] 100%
( 17/108) installing coreutils                      [#####################] 100%
( 18/108) installing cpio                           [#####################] 100%
( 19/108) installing dhcpcd                         [#####################] 100%
( 20/108) installing gdbm                           [#####################] 100%
( 21/108) installing perl                           [#####################] 100%

  This version of perl follows the new perl directory hierarchy (see
  http://wiki.archlinux.org/index.php/Perl_Policy).

  - The perl package and its modules install in the core_perl directories
  - Perl modules provided by Arch Linux install in vendor_perl directories
  - CPAN/CPANPLUS installs should be placed in site_perl directories
  - Older modules in the 'current' directory should still work
  - Programs with embedded perl interpreters need to be rebuilt

  Users of the CPAN or CPANPLUS shells should modify the configuration
  to use the site_perl directories.  Under the CPAN shell use:
    o conf makepl_arg INSTALLDIRS=site
    o conf mbuildpl_arg installdirs=site
  Under the CPANPLUS shell:
    s conf buildflags installdirs=site
    s conf makemakerflags INSTALLDIRS=site
  Then save the configuration.

  The following official packages can be removed since the modules are
  now included in the standard perl library:
    perl-archive-tar  perl-compress-raw-zlib  perl-compress-zlib
    perl-extutils-cbuilder  perl-io-compress-base  perl-io-compress-zlib
    perl-io-zlib  perl-module-pluggable  perl-pod-escapes  perl-pod-simple
    perl-module-build  perl-version

  These community packages are also included in the standard perl library:
    perl-archive-extract  perl-cpanplus  perl-digest-sha  perl-file-fetch
    perl-extutils-parsexs  perl-ipc-cmd  perl-locale-maketext-simple
    perl-log-message  perl-log-message-simple  perl-module-corelist
    perl-module-load  perl-module-load-conditional  perl-module-loaded
    perl-module-pluggable  perl-object-accessor  perl-params-check
    perl-term-ui  perl-time-piece

( 22/108) installing openssl                        [#####################] 100%
Optional dependencies for openssl
    ca-certificates
( 23/108) installing dnsutils                       [#####################] 100%
( 24/108) installing file                           [#####################] 100%
( 25/108) installing fuse                           [#####################] 100%
==> You must load the fuse kernel module to use FUSE.
 -> Run 'modprobe fuse' to load the module now.
 -> Add fuse to $MODULES in /etc/rc.conf to load on every boot.
==> You will need a /dev/fuse device node to use FUSE.
 -> If you use udev, nothing needs to be done
 -> For a static /dev, run: mknod /dev/fuse -m 0666 c 10 229
( 26/108) installing kernel26-firmware              [#####################] 100%
( 27/108) installing filesystem                     [#####################] 100%
( 28/108) installing findutils                      [#####################] 100%
( 29/108) installing gen-init-cpio                  [#####################] 100%
( 30/108) installing pcre                           [#####################] 100%
( 31/108) installing grep                           [#####################] 100%
( 32/108) installing gzip                           [#####################] 100%
( 33/108) installing klibc                          [#####################] 100%
( 34/108) installing klibc-extras                   [#####################] 100%
( 35/108) installing kbd                            [#####################] 100%
( 36/108) installing klibc-kbd                      [#####################] 100%
( 37/108) installing klibc-module-init-tools        [#####################] 100%
( 38/108) installing klibc-udev                     [#####################] 100%
( 39/108) installing sed                            [#####################] 100%
( 40/108) installing e2fsprogs                      [#####################] 100%
( 41/108) installing util-linux-ng                  [#####################] 100%
( 42/108) installing udev                           [#####################] 100%
( 43/108) installing mkinitcpio                     [#####################] 100%
Optional dependencies for mkinitcpio
    lzma: Use lzma compression for the initramfs image
    bzip2: Use bzip2 compression for the initramfs image
( 44/108) installing module-init-tools              [#####################] 100%
( 45/108) installing kernel26                       [#####################] 100%
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.30-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.30-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS
Optional dependencies for kernel26
    crda: to set the correct wireless channels of your country
( 46/108) installing vi                             [#####################] 100%
Create vi related symlinks...
Updating vi help tags...done.
( 47/108) installing grub-gfx                       [#####################] 100%

*********************************************************************
You need to run install-grub /dev/device or grub-install /dev/device 
to update grub loader.
Note: Device should be any of these (sda, sdb, hda, hdb, sda1, hda1) 
If you are in doubt, see your old grub config file (menu.lst.pacsave)
********************************************************************

( 48/108) installing binutils                       [#####################] 100%
( 49/108) installing bzip2                          [#####################] 100%
( 50/108) installing device-mapper                  [#####################] 100%
( 51/108) installing libgpg-error                   [#####################] 100%
( 52/108) installing texinfo                        [#####################] 100%
( 53/108) installing libgcrypt                      [#####################] 100%
( 54/108) installing popt                           [#####################] 100%
( 55/108) installing cryptsetup                     [#####################] 100%
( 56/108) installing dash                           [#####################] 100%
( 57/108) installing expat                          [#####################] 100%
( 58/108) installing dbus-core                      [#####################] 100%
( 59/108) installing dcron                          [#####################] 100%
( 60/108) installing dialog                         [#####################] 100%
( 61/108) installing diffutils                      [#####################] 100%
( 62/108) installing dmapi                          [#####################] 100%
( 63/108) installing gawk                           [#####################] 100%
( 64/108) installing gettext                        [#####################] 100%
Optional dependencies for gettext
    cvs: for autopoint tool
( 65/108) installing groff                          [#####################] 100%
( 66/108) installing hdparm                         [#####################] 100%
( 67/108) installing net-tools                      [#####################] 100%
( 68/108) installing sysvinit                       [#####################] 100%
( 69/108) installing initscripts                    [#####################] 100%
Optional dependencies for initscripts
    bridge-utils: Network bridging support
    dhcpcd: DHCP network configuration
    wireless_tools: Wireless networking
( 70/108) installing iputils                        [#####################] 100%
( 71/108) installing jfsutils                       [#####################] 100%
( 72/108) installing less                           [#####################] 100%
( 73/108) installing xz-utils                       [#####################] 100%
( 74/108) installing libarchive                     [#####################] 100%
( 75/108) installing libdownload                    [#####################] 100%
( 76/108) installing libpcap                        [#####################] 100%
( 77/108) installing libusb                         [#####################] 100%
( 78/108) installing licenses                       [#####################] 100%
( 79/108) installing logrotate                      [#####################] 100%
( 80/108) installing lvm2                           [#####################] 100%
( 81/108) installing lzo2                           [#####################] 100%
( 82/108) installing mailx                          [#####################] 100%
Optional dependencies for mailx
    smtp-forwarder: for sending mail
( 83/108) installing man-db                         [#####################] 100%
it's recommended to create an initial
database running as root:
"/usr/bin/mandb --quiet"
Optional dependencies for man-db
    less
    gzip
( 84/108) installing man-pages                      [#####################] 100%
( 85/108) installing mdadm                          [#####################] 100%
( 86/108) installing mlocate                        [#####################] 100%
mlocate command is technically locate, but slocate is symlinked and still works.
You should run updatedb as root.
( 87/108) installing nano                           [#####################] 100%
( 88/108) installing pacman-mirrorlist              [#####################] 100%
( 89/108) installing pacman                         [#####################] 100%
Optional dependencies for pacman
    fakeroot: for makepkg usage as normal user
    python: for rankmirrors script usage
( 90/108) installing pciutils                       [#####################] 100%
( 91/108) installing sysfsutils                     [#####################] 100%
( 92/108) installing pcmciautils                    [#####################] 100%
( 93/108) installing ppp                            [#####################] 100%
( 94/108) installing procinfo                       [#####################] 100%
( 95/108) installing procps                         [#####################] 100%
( 96/108) installing psmisc                         [#####################] 100%
( 97/108) installing reiserfsprogs                  [#####################] 100%
( 98/108) installing rp-pppoe                       [#####################] 100%
( 99/108) installing sdparm                         [#####################] 100%
(100/108) installing syslog-ng                      [#####################] 100%
Optional dependencies for syslog-ng
    logrotate
(101/108) installing tar                            [#####################] 100%
(102/108) installing tcp_wrappers                   [#####################] 100%
(103/108) installing usbutils                       [#####################] 100%
(104/108) installing wget                           [#####################] 100%
(105/108) installing which                          [#####################] 100%
(106/108) installing libnl                          [#####################] 100%
(107/108) installing wpa_supplicant                 [#####################] 100%
Optional dependencies for wpa_supplicant
    wpa_supplicant_gui: wpa_gui program
(108/108) installing xfsprogs                       [#####################] 100%
running ldconfig
installing custom pacman.conf
generating default locales from host system
Generating locales...
  de_DE.UTF-8... done
  de_DE.ISO-8859-1... done
  de_DE.ISO-8859-15@euro... done
  en_US.UTF-8... done
  en_US.ISO-8859-1... done
Generation complete.
cleaning up mounts
Cleaning up what we can
mv "work/root-image/boot" "work/iso/"
cp -r boot-files/* "work/iso/boot/"
cp isomounts "work"
sed -i "s|@ARCH@|`uname -m`|g" "work/isomounts"
mkinitcpio -c mkinitcpio.conf -b "work/root-image" -k 2.6.29-ARCH -g "work/iso/boot/my-arch".img
/sbin/mkinitcpio: line 196: source: mkinitcpio.conf: file not found
:: Begin build
:: Generating image 'work/iso/boot/my-arch.img'...SUCCESS
cp -r overlay "work/"
cp -r "work/root-image/usr/lib/grub/i386-pc/"* "work/iso/boot/grub"
mkarchiso -f -p grub-gfx iso "work" "`pwd`/CaveLinux-b09-07-`uname -m`".iso
mkarchiso : Configuration Settings
        working directory:   work
               image name:   /home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.iso
====> Generating SquashFS image for 'work/root-image'
Creating SquashFS image. This may take some time...
Image creation done in 1.55 minutes.
====> Generating SquashFS image for 'work/overlay'
Creating SquashFS image. This may take some time...
Image creation done in 0.00 minutes.
====> Making bootable image
Creating ISO image...
mkarchiso -f -p grub-gfx usb "work" "`pwd`/CaveLinux-b09-07-`uname -m`".img
mkarchiso : Configuration Settings
        working directory:   work
               image name:   /home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img
====> Generating SquashFS image for 'work/root-image'
Removing old SquashFS image...done.
Creating SquashFS image. This may take some time...
Image creation done in 1.90 minutes.
====> Generating SquashFS image for 'work/overlay'
Removing old SquashFS image...done.
Creating SquashFS image. This may take some time...
Image creation done in 0.00 minutes.
====> Making bootable image
281917+0 records in
281917+0 records out
144341504 bytes (144 MB) copied, 1.2387 s, 117 MB/s
mke2fs 1.41.6 (30-May-2009)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
35280 inodes, 140956 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
18 block groups
8192 blocks per group, 8192 fragments per group
1960 inodes per group
Superblock backups stored on blocks: 
    8193, 24577, 40961, 57345, 73729

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
63+0 records in
63+0 records out
32256 bytes (32 kB) copied, 0.000305818 s, 105 MB/s
Warning: /home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img is not a block device
Disk /home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img: cannot get geometry

Disk /home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img: 17 cylinders, 255 heads, 63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
 /home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img: unrecognized partition table type
Old situation:
No partitions found
Warning: given size (281917) exceeds max allowable size (273042)
New situation:
Warning: The partition table looks like it was made
  for C/H/S=*/141/55 (instead of 17/255/63).
For this listing I'll assume that geometry.
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img1   *        63    281979     281917  83  Linux
        start: (c,h,s) expected (0,1,9) found (0,1,1)
        end: (c,h,s) expected (36,50,50) found (17,140,55)
/home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img2             0         -          0   0  Empty
/home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img3             0         -          0   0  Empty
/home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img4             0         -          0   0  Empty
Warning: partition 1 extends past end of disk
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Inappropriate ioctl for device

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
Probing devices to guess BIOS drives. This may take a long time.


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]
grub> device (hd0) /home/stephan/Projekte/CaveLinux/CaveLinux-b09-07-i686.img
grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> [stephan@stephan CaveLinux]$

Nothing looking like an error to me. I also tried to build with different package sets...

I installed everything in core the setup wanted me to (I guess I have all packages in core installed, how can I check it?) and just updated today. As I am writing this text on Arch, I also guess my kernel is correctly installed... wink

Offline

#8 2009-07-15 17:34:40

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: Fighting with Archiso...

Check this out, straight from the Archiso wiki page.

Warning:  Earlier versions of this makefile worked with "mkinitcpio -c mkinitcpio.conf..." however (possibly due to recent updates?) this may no longer work. If you see a warning regarding not being able to find the mkinitcpio.conf file, use the full path to the file, or "./". Otherwise you may get an empty initcpio, which will render the system unbootable (VFS error, kernel panic)

Offline

#9 2009-07-15 17:54:53

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Re: Fighting with Archiso...

Thank you, that did the trick.

Offline

#10 2009-07-17 14:58:03

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Re: Fighting with Archiso...

My next issue is auto-configuring the XServer, The method proposed by the wiki is just starting the HAL daemon and then running xinit. My overlay/etc/rc.d contains this daemons line:

DAEMONS=(syslog-ng !network !dhcdbd !networkmanager hal avahi-daemon pulseaudio netfs crond fam gdm wicd)

meaning HAL will be run before gdm (which should start the X Server).

My packages.list contains the following section:

# == Necessary drivers ==
xf86-video-cirrus
xf86-video-intel
xf86-video-nv
xf86-video-openchrome
xf86-video-radeonhd
xf86-video-vesa
xf86-video-vga

(do not worry about the comment, I tweaked the makefile in order to enable those), which should be enough for running in QEMU (Cirrus graphics card).

But - when gdm is started, a display manager is started, then it crashs to the console. This repeats around 5 to 10 times before anerror message saying the X Server was started and shut down several times in few seconds (which I would not have figured out myself roll is shown.

The Xorg log files do not say anything interesting about this problem. Restarting gdm manually does not have any effect but repeating the phenomenon I already desribed.

I guess this is because of lacking X configuration or video drivers not loaded correctly. Is there any reliable tool to auto-detect the hardware?
At the moment I am trying to rebuild my Live CD with no video drivers but the cirrus drivers - maybe there is some conflict between the packages?

Greetings from Germany (excuse my bad english, again)
Stephan

edit: Forget it. gdm was the problem, not X.

Last edited by GermanTrainFreak (2009-07-23 16:58:11)

Offline

#11 2009-08-01 11:33:11

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: Fighting with Archiso...

To install X, you should check the wiki article on Xorg and put all necessary packages into your packages.list. For using open drivers only, you don't need any kind of X configuration as it configures itself very reliably. In fact, unnecessary configuration might cause you further problems.

I'm pretty sure that X DOES give you important information on why it fails. If it's something along the lines of "no screens found" then you don't have the necessary drivers installed.

Offline

#12 2009-08-02 09:46:04

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Re: Fighting with Archiso...

Just testing - my packages.list looks the following:

# == Graphics and sound including necessary daemons ==
hal
fuse
libgl
xorg
# oss
pulseaudio
# == Necessary drivers ==
#xf86-video-cirrus
#xf86-video-fbdev
#xf86-video-intel
#xf86-video-nv
#xf86-video-openchrome
#xf86-video-radeonhd
#xf86-video-vesa
xorg-input-drivers
xorg-video-drivers

what means I should have all important packages, doesn't it?

But in Qemu it still does not work.

I fortunately found an (EE) message in my X log file:

(EE) open /dev/fb0: No such file or directory

Neither Google nor this board had any resulst searching for this message, so I finally resigned...

xf86-video-fbdev is installed (version 0.4.1-1) on the live system.

Offline

#13 2009-08-02 11:50:10

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: Fighting with Archiso...

Can you put it into a physical computer and see if that works alright?

Offline

#14 2009-08-02 11:53:26

GermanTrainFreak
Member
Registered: 2009-07-11
Posts: 12

Re: Fighting with Archiso...

Svenstaro wrote:

Can you put it into a physical computer and see if that works alright?

I already did that - same error.

Offline

Board footer

Powered by FluxBB