LinHES Forums
http://forum.linhes.org/

USB Install - "Invalid Partition Size" <solved>
http://forum.linhes.org/viewtopic.php?f=22&t=23813
Page 1 of 1

Author:  poflynn [ Sat Aug 24, 2013 1:01 pm ]
Post subject:  USB Install - "Invalid Partition Size" <solved>

Got my R8 install USB stick working, great. I am trying to install to another USB stick. I have tried 2 4GB sticks and a 16GB stick and for each of them I get the same error msg: " Invalid Partition Size". This msg pops up just after the warning that it is about to erase all data on the drive.

Also, when I look in /var/log I see no messages or similar log file, where are the logs?

TIA,

Paul

Author:  mattbatt [ Sun Aug 25, 2013 12:01 am ]
Post subject:  Re: USB Install - "Invalid Partition Size"

Use Gparted to wipe the drive I noticed that R8 doesn't do a great job of wiping the drive.

Author:  poflynn [ Wed Sep 11, 2013 9:57 pm ]
Post subject:  Re: USB Install - "Invalid Partition Size"

Thx for the tip, I haven't tried it (yet) however I have tried 2 more sticks from work and they also got the same error. I figured out where the log is and posted the tail of it below. This is for a 4GB stick. Has anyone got this to work?? Thx.


Quote:
nvidia-auto-select
1920x1080
1920x1080_60
1920x1080_60_0
1920x1080_60_1
1920x1080_30
1920x1080_24
1920x1080_60i
1920x1080_60i_0
1360x768
1360x768_60
1280x1024
1280x1024_60
1280x720
1280x720_60
1280x720_60_0
1152x864
1152x864_60
1024x768
1024x768_60
800x600
800x600_60
720x480
720x480_60
640x480
640x480_60
640x480_60_0
640x480_60_1
480x480
480x480_60
411x480
QImage::scaled: Image is a null image
2013-08-27 21:46:38.427188 I Unlocking input devices
2013-08-27 21:46:38.507125 I Locking input devices
2013-08-27 21:46:38.623899 I Unlocking input devices
{'sqlsize': '5000', 'datafs': 'xfs', 'datasize': 'ALL', 'homefs': 'ext3', 'uprootfs': 'ext3', 'swapsize': '3956', 'datadisk': 'sda', 'homesize': '3000', 'rootfs': 'ext3', 'op': 'full_install', 'sqlfs': 'ext3', 'rootsize': '5000', 'rootdisk': 'sda'}
______Start of full install______
Partitioning
Removing all partitions for root /dev/sda
Removing all partitions for data /dev/sda
* Size is larger then disk, reducing size
created NORMAL partition sda1 of 3806MB and added it to /dev/sda
* Size is larger then disk, reducing size
* An error occured, probably invalid parition size
***********************************
error: invalid parition size
***********************************
ERROR: mv_install.py: invalid parition size
***********************************
mv_install.py exit code 1

Author:  jams [ Thu Sep 12, 2013 2:08 pm ]
Post subject:  Re: USB Install - "Invalid Partition Size"

So yeah those sizes add up to more then 16GB, which is why it's failing.
You will need to reduce the size of the various partitions to under 16 (or whatever your usb drive size is)

If the Gui won't let you reduce the size, then it is possible to adjust the sizes after the gui fails. But I don't recall how off the top of my head.

Author:  poflynn [ Sat Sep 14, 2013 10:46 pm ]
Post subject:  Re: USB Install - "Invalid Partition Size"

Well that was embarrassing, I was blasting through all the defaults for a test install and assumed 16GB was plenty to install to by default, but if I had taken half a second to read the default partition sizes I'd have noticed that they were bigger than 16GB...

Thx

:oops:

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/