Hi William,
I pieced together a work around, I didn't bother trying to fix the
install script as I probably don't have the expertise or the patience to
make sure its going to work on anyone/everyone else's setup. Here goes...
I setup the install for 4511, serial, with my cf drive on /dev/sdd, and
let her rip...
OK to continue (y/n)? y
Ready to go ....
Copying files .... done
Removing dnsmasq.pxe.conf in /etc/dnsmasq.more.conf
Fatal: stat /dev/sdd: No such file or directory
Fatal Error: Failed to chroot to to install lilo
copyfiles.sh script completed
What would you like to do?
(default=7 [Exit]):
pesario:~$sudo mount /dev/sdd1 target
pesario:~$sudo chroot target /bin/bash
[EMAIL PROTECTED]:/# lilo -C /etc/lilo.conf
Fatal: stat /dev/sdd: No such file or directory
[EMAIL PROTECTED]:/# ls /dev
console null
[EMAIL PROTECTED]:/# cd /dev
[EMAIL PROTECTED]:/dev# mknod sdd b 8 48
[EMAIL PROTECTED]:/dev# mknod sdd1 b 8 49
[EMAIL PROTECTED]:/dev# mknod sdd2 b 8 50
[EMAIL PROTECTED]:/dev# mknod sdd5 b 8 53
[EMAIL PROTECTED]:/dev# mknod hda b 3 0
[EMAIL PROTECTED]:/dev# mknod hda1 b 3 1
[EMAIL PROTECTED]:/# cd /
[EMAIL PROTECTED]:/# lilo -C /etc/lilo.conf
Warning: '/proc/partitions' does not exist, disk scan bypassed
Added Linux *
Skipping /vmlinuz.old
[EMAIL PROTECTED]:/# exit
exit
pesario:~$sudo umount target
and she's good to go!
Some notes:
1)
the major and minor numbers used in the mknod can be found ls -lh
/dev/XXX. Might be a good idea to rm these after the install, but I
didn't bother.
2)
even after I did the mknod's I couldn't get lilo -R to work right. Maybe
It has something to do with how lilo mounts proc after it chroot's and
attempts to use /proc/partitions to get the requisite info. Maybe it was
something else. I'm too much of a beginner to say for sure.
3)
I had to modify the /etc/lilo.conf file. For one thing, I had previously
partitioned my drive in a different way than voyage is looking
for(oops). The other issue was that I couldn't remember what the command
line arguments to lilo were to achieve the desired affects, and was too
lazy to bother to read the docs. anyrate, this is what I came up with...
# /etc/lilo.conf
# This file generated automatically by
/home/burlen/voyage-0.4.1/usr/local/sbin/setboot.sh
# on Mon Jan 21 22:10:25 EST 2008
#
boot=/dev/sdd
disk=/dev/sdd
bios=0x80
root=/dev/hda1
serial=0,9600n8
vga=normal
delay=30
default=Linux
image=/vmlinuz
root=/dev/hda1
label=Linux
append="console=ttyS0,9600n8 reboot=bios"
read-only
image=/vmlinuz.old
root=/dev/hda1
label=LinuxOLD
append="console=ttyS0,9600n8 reboot=bios"
read-only
optional
Hope all this saves you some time.
Burlen
William M. Brack wrote:
William M. Brack wrote:
Hi Burlen,
It certainly looks as though there's a problem with the script(s).
Although I wrote most of that part, unfortunately I'm not going to
be able to spare much time over the next couple of weeks, so it
might be awhile before it gets fixed.
If anyone else would like to take a stab at it, the trouble looks
like it's coming from the voyage distribution script
/usr/local/sbin/setboot.sh - the actual failure message comes from
line 62 of that script, where lilo is run with a 'chroot'; I'm
pretty sure it's not that the "chroot" is wrong, but rather that
the lilo run had errors. It's probably because something is wrong
with the automatically generated configuration file, which (after
the script has been run) can be found at
{target directory}/etc/lilo.install.conf.
Thanks for reporting it - and it will, eventually, get fixed!
Bill
burlen wrote:
Hi all, I have been having some issues with my net4521 and decided
that
I should attempt a Voyage install as a sanity check. However, when I
make the install, I have the following issue(note grub install does
finish with no errors):
Configuration details:
----------------------
Distribution directory: /home/burlen/voyage-0.4.1
Disk/Flash Device: /dev/sdc
Installation Partition: /dev/sdc1
Will be mounted on: /home/burlen/target
Target system profile: 4511/4521
Target console: serial
Target baud rate: 9600
Bootstrap installer: lilo
OK to continue (y/n)? y
Ready to go ....
Copying files .... done
Removing dnsmasq.pxe.conf in /etc/dnsmasq.more.conf
Fatal: stat /dev/sdc: No such file or directory
Fatal Error: Failed to chroot to to install lilo
copyfiles.sh script completed
finally, stat does indeed work,
$stat /dev/sdc
File: `/dev/sdc'
Size: 0 Blocks: 0 IO Block: 4096 block
special
file
Device: eh/14d Inode: 552253 Links: 1 Device type: 8,20
Access: (0660/brw-rw----) Uid: ( 0/ root) Gid: ( 46/
plugdev)
Access: 2008-01-17 08:49:03.556142901 -0500
Modify: 2008-01-17 08:48:59.555914941 -0500
Change: 2008-01-17 08:48:59.555914941 -0500
--
Burlen Loring
Information Technologist III
Space Science Center
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
39 College Road, Durham, NH 03824
Phone: 603-862-1140
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux