visopsys.org

Visopsys Forums
It is currently Thu Jan 18, 2018 2:41 pm

All times are UTC




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: install-*.sh problems
PostPosted: Sun Dec 18, 2011 5:31 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Hello again.

Man, it seems like I have no luck with these install scripts again... but this time I'm using CentOS! ;)

The problem happens in install.sh, called from install-floppy.sh, called from install-cd.sh. I did some debugging and found that the problem was comming from "mount" in the install.sh. It says "mount: you must specify the filesystem type". What should I put into the filesystem argument, if anything, or should I modify something else? This didn't happen in 0.7 so maybe this is just a release bug?

Thank you :)

~osmiumusa

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


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Sun Dec 18, 2011 7:31 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
Hi mate,

Are you logged in as root?

Andy


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Sun Dec 18, 2011 8:49 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Yes, I am root (that is a powerful statement :) ). For some reason I had to chmod all of these files so that they had the "x" attribute so I could execute them. I don't think that has anything to do with it, but that may be a useful tidbit of info.

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


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Sun Dec 18, 2011 11:31 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
That is confusing. That script is used to create the boot floppy image inside the CD-ROM .iso image. The only mount command in the image-floppy.sh script specifies the filesystem type as msdos (-t msdos)...

The only time I've seen errors like that is when I launched it as non-root, so it gave a permission error when attempting to mount something that wasn't listed in the /etc/fstab file.


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Tue Dec 20, 2011 1:50 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
There is another mount command in the Unix installation script that doesn't appear to specify what filesystem to use. What should I tell it?

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


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Sun Jan 15, 2012 5:54 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Ok, I fixed it. But just out of curiosity, what changed between this version's ISO and 0.7's? They look different in MagicISO (running on Windows 7) 0.7 has all capital names by default (probably due to the fs used) but 0.71 does not... also, is the kernel name supposed to have 3 spaces at the end of it?

Here's a suggestion... in the change log, make a note of the files that were changed/added/deleted. It would help kernel developers, like me, migrate between versions. :)

Thanks,

osmiumusa :mrgreen:

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


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Mon Jan 16, 2012 1:40 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
Ahh good, glad you figured it out. Hmm, the ISOs shouldn't be notably different aside from the coding changes. Are you sure that one of your tools hasn't "Windows-ized", or corrupted your 0.7 ISO? I always generate them on Linux, and I don't think anything really changed in my environment between the 2 versions.

The 3 spaces you're seeing at the end of the kernel name are consistent with the other strange 'DOS-like' stuff you described. In FAT (short filename mode), files with no extension have 3 spaces in the second part of their 8.3-format file names.

Strange though.

Andy


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Tue Jan 17, 2012 3:16 am 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
The reason I ask is because I tried to change the name of the kernel. And it keeps saying its not in the root directory. Here's what I did:

a) Changed the output of ./src/kernel/Makefile
b) Changed loaderLoadKernel.s variable to reflect it
c) Changed install-files.basic

Am I missing something?

osmiumusa

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


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Tue Jan 17, 2012 10:26 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
Why would you want to change the name of the kernel? :naughty: ;)

Sounds like your filesystem got corrupted, frankly.


Top
 Profile  
 
 Post subject: Re: install-*.sh problems
PostPosted: Tue Jan 17, 2012 4:05 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
No no don't get the wrong idea... its more of a self challenge thing. I'm a freshman in high-school and I do kinda want the challenge of many things.

I think you may be right. i'll keep the name (honestly there is no reason to change it, I would have reverted it)

osmiumusa

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


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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