Author Topic: Trying to extract .tar on windows 10  (Read 2524 times)

0 Members and 1 Guest are viewing this topic.

Offline nvidiaTopic starter

  • Regular Contributor
  • *
  • Posts: 89
  • Country: nz
Trying to extract .tar on windows 10
« on: February 18, 2021, 03:04:13 am »
Trying to extract .tar on windows with 7-Zip File Manager it just keeps saying this for some files 🙁 i need to extract the tar to be able to install the linux os from a sd card on my arm netbook what can i do?
 

Offline retiredfeline

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: au
Re: Trying to extract .tar on windows 10
« Reply #1 on: February 18, 2021, 04:00:12 am »
Windows filesystems are non-case-sensitive so you risk losing files if files clash when case is ignored. You need a better install method.
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13052
Re: Trying to extract .tar on windows 10
« Reply #2 on: February 18, 2021, 04:08:00 am »
Historically Microsoft Windows filesystems have preserved case but haven't been case sensitive, which means you could *NOT* have two files in the same folder with names that only differed in capitalization. :(

Fortunately, WSL required Windows case sensitivity support so Win10 1803 or newer *SHOULD* let you turn that on for *SPECIFIC* folders. (It would be a really *BAD* idea to turn it on globally as many applications, system components and scripts are likely to rely on case insensitivity, i.e. the case of names they use isn't consistent.)

To fix it for a specific folder you should be able to simply run CMD as administrator, then:
Code: [Select]
fsutil.exe file SetCaseSensitiveInfo C:\folder\path enablereplacing C:\folder\path with the path to an empty folder you are going to extract to (which *MUST* be on a local NTFS volume).  However I wouldn't care to risk it on a folder being managed by OneDrive!  :scared: :popcorn:

Background: https://www.tiraniddo.dev/2019/02/ntfs-case-sensitivity-on-windows.html

« Last Edit: February 18, 2021, 12:15:17 pm by Ian.M »
 
The following users thanked this post: edavid

Offline nvidiaTopic starter

  • Regular Contributor
  • *
  • Posts: 89
  • Country: nz
Re: Trying to extract .tar on windows 10
« Reply #3 on: February 18, 2021, 05:04:35 am »
Historically Microsoft Windows filesystems have preserved case but haven't been case sensitive, which means you could *NOT* have two files in the same folder with names that only differed in capitalization. :(
Fortunately, WSL required Windows case sensitivity support so Win10 1803 or newer *SHOULD* let you turn that on for *SPECIFIC* fo;ders. (It would be a really *BAD* idea to turn it on globally as many applications, system components and scripts are likely to rely on case insensitivity, i.e. the case  of names they use isn't consistent.)

To fix it for a specific folder you should be able to simply run CMD as administrator, then:
Code: [Select]
fsutil.exe file SetCaseSensitiveInfo C:\folder\path enablereplacing C:\folder\path with the path to an empty folder you are going to extract to (which *MUST* be on a local NTFS volume).  However I wouldn't care to risk it on a folder being managed by OneDrive!  :scared: :popcorn:

Background: https://www.tiraniddo.dev/2019/02/ntfs-case-sensitivity-on-windows.html

how would i do this to extract the files to root of the sd card?
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13052
Re: Trying to extract .tar on windows 10
« Reply #4 on: February 18, 2021, 06:18:12 am »
You wouldn't.   Even *IF* windows lets you set case sensitivity on a drive root folder, so you can extract the files there, a six year old Linux distro based on Ubuntu 14 isn't going to support booting from a NTFS drive.

You'll need to use a Linux or Unix machine (or possibly a VM) to extract the tarball to a VFAT formatted SDcard. 
« Last Edit: February 18, 2021, 06:27:39 am by Ian.M »
 

Offline nvidiaTopic starter

  • Regular Contributor
  • *
  • Posts: 89
  • Country: nz
Re: Trying to extract .tar on windows 10
« Reply #5 on: February 18, 2021, 06:21:35 am »
You wouldn't.   Even *IF* windows lets you set case sensitivity on a drive root folder, a six year old Linux distro bases on Ubuntu 14 isn't going to support booting from a NTFS drive.

so what can i do then i really need to install it onto the sd card

ive installed the version of android it supports from a fat32 sd card before
 

Offline retiredfeline

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: au
Re: Trying to extract .tar on windows 10
« Reply #6 on: February 18, 2021, 06:43:01 am »
You're the guy who was asking in another thread about boot images for a notebook/netbook computer yeah? Why not provide more details about what you are trying to install?
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13052
Re: Trying to extract .tar on windows 10
« Reply #7 on: February 18, 2021, 08:10:01 am »
The folder name leads me to suspect 'FOSSEE-OS' which was based on Ubuntu 14.04 (according to https://laptop.fossee.in/specifications), circa 2015.
 

Offline nvidiaTopic starter

  • Regular Contributor
  • *
  • Posts: 89
  • Country: nz
Re: Trying to extract .tar on windows 10
« Reply #8 on: February 18, 2021, 08:13:29 am »
You're the guy who was asking in another thread about boot images for a notebook/netbook computer yeah? Why not provide more details about what you are trying to install?

https://static.fossee.in/laptop/fossee-os.tar.gz

i got it to copy files using linux but why do i run out of space on my 8gb sd card it should fit according to there website it says
 

Offline retiredfeline

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: au
Re: Trying to extract .tar on windows 10
« Reply #9 on: February 18, 2021, 08:22:22 am »
It's not sufficient to just copy files onto a disk (HD or flash) to be able to boot off it. You also have to take care of partitioning and installing the bootloader and boot files.  Are there instructions on how to restore the OS image for your hardware? You may need a live Linux distro to fix up the target drive.
 

Offline nvidiaTopic starter

  • Regular Contributor
  • *
  • Posts: 89
  • Country: nz
Re: Trying to extract .tar on windows 10
« Reply #10 on: February 18, 2021, 08:52:44 am »
It's not sufficient to just copy files onto a disk (HD or flash) to be able to boot off it. You also have to take care of partitioning and installing the bootloader and boot files.  Are there instructions on how to restore the OS image for your hardware? You may need a live Linux distro to fix up the target drive.

this is a cheap cheesiness netbook and can only boot from sd card
on windows winrar shows that it will be when unpacked 6,988,538,301 bytes that is less then 8gb

but when extracting on linux the sd card runs out of space i found that the sd card i have can only format to 7.25gb i do have another sd card  that can format to  7.40gb is there a way to check before extracting to see how many gb are needed on the sd card in Linux 
« Last Edit: February 18, 2021, 08:55:43 am by nvidia »
 

Offline retiredfeline

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: au
Re: Trying to extract .tar on windows 10
« Reply #11 on: February 18, 2021, 12:11:42 pm »
Is the SD card the working media or the way you are using to load the OS onto the working media? If the working media, then you really need a larger SD card otherwise there will be little or no room for user files even if you manage to cram it all in and successfully boot.

Is that tarball a dump of someone's running OS? The tarball may contain user files and log files which are not needed for an install. You may be able to exclude these when extracting the tarball.
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 3040
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: Trying to extract .tar on windows 10
« Reply #12 on: February 18, 2021, 12:18:47 pm »
It's not sufficient to just copy files onto a disk (HD or flash) to be able to boot off it.

You might be surprised there,  from my notes I wrote about a mission to upgrade a motherboard on my workstation a few years back...

Quote from: me
Creating a Live USB stick
Ok, I arsed about for a LONG time trying to get this to work, because I thought it was way more complicated than it is, I got lost in a mire of boot disk creators.

Here’s the thing, with UEFI, making a live boot USB stick does not require anything more than a manner to get at the contents of the ISO

  cd /tmp
  mkdir iso-contents
  sudo mount -o loop [path-to]/kubuntu-16.04.1-desktop-amd64.iso /tmp/iso-contents
now just copy everything in there onto your clean blank flash drive.

  cp -a /tmp/iso-contents/. /path/to/your/usb-key/
That’s IT, that’s all you have to do.  You do not need unetbootin, or tuxboot, or boot disk creator or anything if you will be using UEFI to boot instead of  “bios”, and you will be.
~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline retiredfeline

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: au
Re: Trying to extract .tar on windows 10
« Reply #13 on: February 18, 2021, 12:25:26 pm »
You might be surprised there,  from my notes I wrote about a mission to upgrade a motherboard on my workstation a few years back...

I know about UEFI, I just didn't think it was likely to be present on this machine.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf