visopsys.org

Visopsys Forums
It is currently Sat Jan 20, 2018 2:39 am

All times are UTC




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Booting issue
PostPosted: Thu Jan 20, 2011 2:28 am 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Absolutely. I've attached the ones with the edits you've told me to make.

~osmiumusa :mrgreen:

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Thu Jan 20, 2011 2:31 am 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
I don't know if it attatched properly... Oh, wait. The extension "sh" is not allowed...

Here it is.


#!/bin/sh
##
## Visopsys
## Copyright (C) 1998-2008 J. Andrew McLaughlin
##
## image-cd.sh
##

# Installs the Visopsys system into a zipped CD-ROM ISO image file

set -x

IMAGEFLOPPYLOG=./image-floppy.log
MKISOFSLOG=./mkisofs.log
ZIPLOG=./zip.log

echo ""
echo "Making Visopsys CD-ROM IMAGE file"

# Are we doing a release version? If the argument is "-r" then we use
# the release number in the destination directory name. Otherwise, we
# assume an interim package and use the date instead
if [ "$1" == "-r" ] ; then
# What is the current release version?
RELEASE=`./release.sh`
echo " - doing RELEASE version $RELEASE"
RELFLAG=-r
else
# What is the date?
RELEASE=`date +%Y-%m-%d`
echo " - doing INTERIM version $RELEASE (use -r flag for RELEASES)"
fi
echo ""

BUILDDIR=../build
ISOBOOT=-isoboot
NAME=visopsys-$RELEASE
FLOPPYZIP="$NAME""$ISOBOOT"-img.zip
FLOPPYIMAGE="$NAME""$ISOBOOT".img
ISOIMAGE=$NAME.iso
ZIPFILE=$NAME-iso.zip

TMPDIR=/tmp/iso$$.tmp
rm -Rf $TMPDIR
mkdir -p $TMPDIR

echo -n "Making/copying boot floppy image... "
echo $RELFLAG $ISOBOOT $IMAGEFLOPPYLOG
./image-floppy.sh $RELFLAG $ISOBOOT >& $IMAGEFLOPPYLOG
if [ $? -ne 0 ] ; then
echo ""
echo -n "Not able to create floppy image $FLOPPYZIP. "
echo "See $IMAGEFLOPPYLOG. Terminating."
echo ""
exit 1
fi
rm -f $IMAGEFLOPPYLOG
unzip $FLOPPYZIP >& /dev/null
rm -f $FLOPPYZIP
mv $FLOPPYIMAGE $TMPDIR
echo Done

# Copy all of the files from the build directory
echo -n "Copying build files... "
(cd $BUILDDIR ; tar cf - * ) | (cd $TMPDIR; tar xf - )
echo Done

echo -n "Copying doc files... "
(cd .. ; tar cf - docs ) | (cd $TMPDIR; tar xf - )
find $TMPDIR/docs -name CVS -exec rm -R {} \; >& /dev/null
echo Done

echo -n "Creating ISO image... "
rm -f $ISOIMAGE
mkisofs -U -D -floppy-boot -b $FLOPPYIMAGE -c boot.catalog -hide $FLOPPYIMAGE -hide boot.catalog -V "Visopsys $RELEASE" -iso-level 3 -L -o $ISOIMAGE $TMPDIR >& $MKISOFSLOG
if [ $? -ne 0 ] ; then
echo ""
echo -n "Not able to create ISO image $ISOIMAGE. "
echo "See $MKISOFSLOG. Terminating."
echo ""
exit 1
fi
rm -f $MKISOFSLOG
echo Done

echo -n "Archiving... "
echo "Visopsys $RELEASE CD-ROM Release" > /tmp/comment
echo "Copyright (C) 1998-2008 J. Andrew McLaughlin" >> /tmp/comment
rm -f $ZIPFILE
zip -9 -z -r $ZIPFILE $ISOIMAGE < /tmp/comment >& $ZIPLOG
if [ $? -ne 0 ] ; then
echo ""
echo -n "Not able to create zip file $ZIPFILE. "
echo "See $ZIPLOG. Terminating."
echo ""
exit 1
fi
rm -f /tmp/comment $ZIPLOG
echo Done

rm -f $FLOPPYIMAGE
rm -f $ISOIMAGE
rm -Rf $TMPDIR

echo ""
echo "File is: $ZIPFILE"
echo ""

exit 0

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Thu Jan 20, 2011 2:39 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
Looks normal. I just had a small hunch... you didn't by any chance use a Windows program like WinZip to unzip the Visopsys source file, did you? I'm wondering if there are DOS/Windows linefeed characters added to the script. If you load it up in a program like emacs, you'd see stuff like ^m (I think) at the end of each line..


Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Thu Jan 20, 2011 1:14 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
I am using Ubuntu to access files on my windows host (back in my initial post where I said Linux was in a VirtualBox) But the script doesn't work on the Linux unzipped version either...

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Thu Jan 20, 2011 1:18 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
:? Well I really can't see what the problem might be here. I guess I need to install a Ubuntu VM and give it a try. If you didn't already mention it upthread, can you say which version of Ubuntu you're using?


Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Thu Jan 20, 2011 2:12 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Ubuntu 10.04 LTS - the Lucid Lynx
Oracle VirtualBox 3.2.10 r66523

Thank you so much for helping me out. What version of Linux do you use?

~osmiumusa :mrgreen:

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Thu Jan 20, 2011 3:52 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
Cheers, I'll try to get that running somewhere, perhaps this weekend. I've had a few people trying to develop using Ubuntu, and running into little problems (such as compiler errors/warnings) that don't occur on my system.

I use CentOS (RedHat) 4.3 and 4.4


Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Thu Jan 20, 2011 4:16 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
To get around the make file errors, I took Makefile.include and took out the -Werror option so warnings wouldn't stop it. It seems to work until it starts to load... maybe this is the problem? Does it sound logical?

~osmiumusa :mrgreen:

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Sat Jan 22, 2011 2:57 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Progress! Used IMGBurn and tried it with a DVD setting and a UDF filesystem and i now can get to the splash screen! But after the spash screen I get another kernel panic! I attached a screen shot.


Attachments:
File comment: This is the error
krnlerror.GIF
krnlerror.GIF [ 3.76 KiB | Viewed 8326 times ]

_________________
Lemons. :) Nobody doesn't like lemons!
Top
 Profile  
 
 Post subject: Re: Booting issue
PostPosted: Wed Feb 02, 2011 7:44 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Hello? Anybody?

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group