visopsys.org

Visopsys Forums
It is currently Sun Apr 22, 2018 11:23 pm

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Installing/booting Visopsys from USB?
PostPosted: Tue Sep 20, 2011 10:25 pm 
Offline

Joined: Mon Mar 07, 2011 2:38 am
Posts: 18
1) I have tried both options
2) hd0a and cd0
3) no errors

I think it isn't a Visopsys related problem. Some other OSes don't recognize it.

Is it possible to use unetbootin or a similar tool to create a booteable USB drive for Visopsys?

_________________
++++++++++[>+++++++<-]>++.<+++[>++<-]>+.<++[>--<-]>+.<+++[>---<-]>--.


Top
 Profile  
 
 Post subject: Re: Installing/booting Visopsys from USB?
PostPosted: Tue Sep 20, 2011 11:07 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 463
It could be an issue with the stick or the port. My development system has a USB port on the front panel that never works with Visopsys, and often causes trouble for Linux too. The ports on the back of the machine tend to work. I understand that it might have something to do with power (front port doesn't have the same level of available power, or something).

It might be a slightly fishy stick, too, and/or something that Visopsys isn't doing correctly. At the present time, Visopsys works with all dozen-or-so sticks that I own, running on real hardware. I've noticed some of them don't seem to work as well in VmWare since my last round of USB work :doh: but that's the way it tends to go with hardware devices: It's tough to get everything just right for every system and every device.

The best way to make a bootable Visopsys USB right now would be to use the installer, as you already tried. When I do the next release (which is actually, basically ready - I've been working on a compression library for a future release) you'll be able to use scripts in the utils/ directory to create USB images.

Here's a USB image that I just created for you:
http://visopsys.org/files/misc/visopsys ... sb-img.zip

You can use a program like this one to write it to a stick:
https://launchpad.net/win32-image-writer/+download

If you're working with source code, I could give you the scripts to create USB images, but the last version of Visopsys really won't boot from USB anyway. The new release should be available in the next few days anyway.

Andy


Top
 Profile  
 
 Post subject: Re: Installing/booting Visopsys from USB?
PostPosted: Wed Sep 21, 2011 6:05 pm 
Offline

Joined: Mon Mar 07, 2011 2:38 am
Posts: 18
andymc wrote:
It could be an issue with the stick or the port.

The issue was with the stick.

andymc wrote:
you'll be able to use scripts in the utils/ directory to create USB images.

I will be using them.

andymc wrote:
Here's a USB image that I just created for you:
http://visopsys.org/files/misc/visopsys ... sb-img.zip

Thanks that works :clap:

andymc wrote:
You can use a program like this one to write it to a stick:
https://launchpad.net/win32-image-writer/+download

The program wrote:
Writing to a physical device can corrupt the device.
Are you sure you want to continue?
-Yes

Now the stick has a total of 29.9MB :lol: but Visopsys now runs on my real hardware :D
PS: I wanted to boot Visopsys from USB because the computer I'm using is a netbook (and it doesn't have a CD-ROM drive)

_________________
++++++++++[>+++++++<-]>++.<+++[>++<-]>+.<++[>--<-]>+.<+++[>---<-]>--.


Top
 Profile  
 
 Post subject: Re: Installing/booting Visopsys from USB?
PostPosted: Thu Sep 22, 2011 11:36 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 463
The program wrote:
Writing to a physical device can corrupt the device.
Are you sure you want to continue?
-Yes


:) that message tries to discourage people from writing directly to devices, unless they understand what they're doing (for example, clobbering the partition table)

El_Matador wrote:
Now the stick has a total of 29.9MB :lol: but Visopsys now runs on my real hardware :D
PS: I wanted to boot Visopsys from USB because the computer I'm using is a netbook (and it doesn't have a CD-ROM drive)


Yes, the image has a partition table in its MBR sector. I had to pick a partition size, so I picked one that will fit on even the smallest/oldest USB sticks, but still big enough for Visopsys. If you reformat the stick in Windows, or resize the partition, you'll get all your old space back.

Andy


Top
 Profile  
 
 Post subject: Re: Installing/booting Visopsys from USB?
PostPosted: Thu Sep 22, 2011 9:45 pm 
Offline

Joined: Mon Mar 07, 2011 2:38 am
Posts: 18
What does this error mean? (I'm booting Visopsys from USB)
Attachment:
error.png
error.png [ 96.09 KiB | Viewed 9345 times ]

_________________
++++++++++[>+++++++<-]>++.<+++[>++<-]>+.<++[>--<-]>+.<+++[>---<-]>--.


Top
 Profile  
 
 Post subject: Re: Installing/booting Visopsys from USB?
PostPosted: Fri Sep 23, 2011 12:09 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 463
El_Matador wrote:
What does this error mean? (I'm booting Visopsys from USB)


Hiya,

The first one is a non-fatal error that means the USB (SCSI) disk driver wasn't able to guess disk geometry numbers that match up with the number of sectors on the disk. USB disks don't really have geometry, but certain things (notably the disk partitioning code) expect there to be a 'cylinders' value, for example. The code that gave that error wasn't able to guess something that made sense.

The second one is usually seen when an IDE disk claims to support a DMA/UDMA mode, but an attempt to read sectors using that mode failed. The IDE code will try successively lower modes until it finds one that works, but it does produce those error messages when a mode fails.

The third message looks like a minor bug, an attempt to re-deallocate memory, possibly caused by the removal of a USB stick that wasn't enumerated correctly?


Top
 Profile  
 
 Post subject: Re: Installing/booting Visopsys from USB?
PostPosted: Sat Sep 24, 2011 1:31 am 
Offline

Joined: Mon Mar 07, 2011 2:38 am
Posts: 18
andymc wrote:
The first one is a non-fatal error that means the USB (SCSI) disk driver wasn't able to guess disk geometry numbers that match up with the number of sectors on the disk. USB disks don't really have geometry, but certain things (notably the disk partitioning code) expect there to be a 'cylinders' value, for example. The code that gave that error wasn't able to guess something that made sense.

The second one is usually seen when an IDE disk claims to support a DMA/UDMA mode, but an attempt to read sectors using that mode failed. The IDE code will try successively lower modes until it finds one that works, but it does produce those error messages when a mode fails.

Thanks for the clarification.

andymc wrote:
The third message looks like a minor bug, an attempt to re-deallocate memory, possibly caused by the removal of a USB stick that wasn't enumerated correctly?

I haven't removed my USB stick. What else can be causing that problem?

_________________
++++++++++[>+++++++<-]>++.<+++[>++<-]>+.<++[>--<-]>+.<+++[>---<-]>--.


Top
 Profile  
 
 Post subject: Re: Installing/booting Visopsys from USB?
PostPosted: Sat Sep 24, 2011 2:04 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 463
El_Matador wrote:
andymc wrote:
The third message looks like a minor bug, an attempt to re-deallocate memory, possibly caused by the removal of a USB stick that wasn't enumerated correctly?

I haven't removed my USB stick. What else can be causing that problem?


Hmm, not sure. If I've interpreted this correctly, it's not really a 'problem' per se -- the system caught the error -- it just turned up a minor coding error on my part; the hotplug device detection frees the memory it allocated if there's an error along the way, but doesn't set the pointers to NULL. The hotplug device removal code sees the non-NULL pointers and tries to free the memory again.


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

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