Koozali.org: home of the SME Server

"IOError: [Errno 30] Read-only file system" when installing SME 8 from USB

Offline avamk

  • 8
  • +0/-0
Hello,

By using the instructions in this post, I managed to make my 8.0GB USB flash drive boot the latest SME Server 8 beta 6 ISO image. The installation program starts when I boot from USB, and configuration of install options worked fine.

After pressing "Install now", the installation starts, then ends with a python exception error: IOError: [Errno 30] Read-only file system

I tried it twice (with different USB sticks) and got the same error, what does this mean and how should I alleviate this problem?

Thanks!!

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #1 on: November 22, 2010, 09:37:13 PM »
why don't you install it via cd? :-)

Offline avamk

  • 8
  • +0/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #2 on: November 23, 2010, 12:04:46 AM »
why don't you install it via cd? :-)

Unfortunately, the box I am trying to install it in, a VIA Artigo A1100, does not have an optical drive, and I don't have an external one either. So is there any hope of installing from a USB stick? Thanks!!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #3 on: November 23, 2010, 03:23:16 AM »
So is there any hope of installing from a USB stick?

AFAIK that feature hasn't been developed.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #4 on: November 23, 2010, 01:33:02 PM »
AFAIK that feature hasn't been developed.

It hasn't exactly been developed, but you can boot from a USB pen and install the latest SME Server 8b6 as I have done so on occasions where CDROM support hasn't been available.  Google is your friend :)
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline avamk

  • 8
  • +0/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #5 on: November 23, 2010, 07:15:08 PM »
.....Google is your friend :)

A Google search is what led me here. :)

But like I said before, after following the install from USB instructions posted in this thread, I get "IOError: [Errno 30] Read-only file system" during installation. Any ideas why?

...boot from a USB pen and install the latest SME Server 8b6 as I have done so on occasions where CDROM support hasn't been available....

How did you do it?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #6 on: November 23, 2010, 08:20:29 PM »
But like I said before, after following the install from USB instructions posted in this thread, I get "IOError: [Errno 30] Read-only file system" during installation. Any ideas why?
I guess it is large enough to be considered by the operating system as a disk that is part of the software raid array it is trying to create. What is the size of the USB drive you are using? Perhaps you can try and manually create the partitions in order to take care not to include the USB drive?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline avamk

  • 8
  • +0/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #7 on: November 23, 2010, 10:01:53 PM »
I guess it is large enough to be considered by the operating system as a disk that is part of the software raid array it is trying to create. What is the size of the USB drive you are using? Perhaps you can try and manually create the partitions in order to take care not to include the USB drive?

I have a 8.0 GB USB drive. The hard drive I am trying to install SME 8 on is 40 GB. Should I partition the hard drive AND the USB drive in some way? And should I do it BEFORE running the installation program (perhaps via fdisk)? If so what format? ext3?

Sorry about all the questions, I am quite new to SME.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #8 on: November 23, 2010, 10:10:25 PM »
I have a 8.0 GB USB drive. The hard drive I am trying to install SME 8 on is 40 GB. Should I partition the hard drive AND the USB drive in some way? And should I do it BEFORE running the installation program (perhaps via fdisk)? If so what format? ext3?
During installation there should be an option to manually partition or review the partition IIRC.

Sorry about all the questions, I am quite new to SME.
No problem, we all have to start somewhere...
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #9 on: November 23, 2010, 11:27:46 PM »
avamk

Quote
During installation there should be an option to manually partition or review the partition IIRC.

This might help
http://wiki.contribs.org/Booting
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #10 on: November 23, 2010, 11:35:34 PM »
This is the tool I used to get a usb SME Server booting from USB stick successfully and installed (very quickly too :) )...

http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

Little bit of "know-how" is required.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline fpausp

  • *
  • 728
  • +0/-0

Offline slords

  • ****
  • 235
  • +3/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #12 on: November 24, 2010, 09:35:16 PM »
The issue here is that the USB stick is > 4G which is where the operating system says it is no longer a removable drive and is a fixed drive suitable for install.  The current installer upon seeing this drive tries to make it part of the raid array it creates and by doing so renders the USB drive corrupt (and thus fails to read-only).

You can use the installer cmdline options to exclude the drive so that it will install correctly, or you can wait for the next released ISO that has a fix in it to automatically exclude any drive/device that is being used to install.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #13 on: November 24, 2010, 09:48:40 PM »
You can use the installer cmdline options to exclude the drive so that it will install correctly, or you can wait for the next released ISO that has a fix in it to automatically exclude any drive/device that is being used to install.
If you mean these options I fail to see how to do so, also the relevant bugs do not help me much:
http://bugs.contribs.org/show_bug.cgi?id=5316
http://bugs.contribs.org/show_bug.cgi?id=5850

Perhaps you can show us how?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline avamk

  • 8
  • +0/-0
Re: "IOError: [Errno 30] Read-only file system" when installing SME 8 from USB
« Reply #14 on: November 24, 2010, 11:13:57 PM »
If you mean these options I fail to see how to do so, also the relevant bugs do not help me much:
http://bugs.contribs.org/show_bug.cgi?id=5316
http://bugs.contribs.org/show_bug.cgi?id=5850

Perhaps you can show us how?

Yeah, please tell us what to do.

I tried the boot options "sme raid=[none] drives=hdb", "sme raid=[none]", and "sme drives=hdb", none worked. I even tried to use the rescue mode to create a small partition on the hard drive (format it ext3), place the SME 8 iso in that partition, and used it when asked during install from USB stick, but it still didn't work.

BTW, I am attaching a photo I took of the exact error that occurs. Its always the same file, same error.