LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-16-2017, 04:37 PM   #1
yggdrsail
LQ Newbie
 
Registered: May 2017
Posts: 2

Rep: Reputation: Disabled
recovering partition


hi all. i switched to linux from windows on my msi ge72vr. there was a recovery partition around 70 GB. somehow i wasn't able to see it on windows/disk management neither in gparted on linux. is there a way to write really really factory sectors to hdd? i want to recover that partition. the hdd is 1tb but it shows 931gb free. any suggestions?
 
Old 12-17-2017, 07:53 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
70GB for a Recovery partition seems a little large in my experience. Is this a standard windows recovery partition or is it a backup you created?

Which version of windows do/did you have? Which version of Linux do you have? Did you actually install Linux and if so what option did you choose? There are usually several including something like "erase disk and install ?Linux" which would have overwritten everything on the drive. If you can boot whichever Linux you have installed or the install media, access a terminal and login as root and run the command below. Some Linux systems require you to preface the command with sudo.

Quote:
parted -l
Lower Case Letter L in the command. Post the output here. I'm not really sure about the situation you are in but you should always have a backup of important data on another drive and generally, you would be better off using windows backup tools for windows partition, Linux for Linux.
 
Old 12-17-2017, 05:11 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by yggdrsail View Post
the hdd is 1tb but it shows 931gb free. any suggestions?
Nothing to do with Linux, or for that matter Win. What you are seeing is merely a difference in representation. Search on the difference between gibibytes and gigabytes - your disk is 1000 GB, but only 931 GiB. The manufacturers always use the bigger (basically incorrect in computer terms) number.
 
Old 12-18-2017, 03:13 AM   #4
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Welcome to LQ (5/2017)!!!

A web-search of: 1000 GB but only 931 GiB
helps me 100%trust #3

I'm wild-guessing that the Win10 'recovery' partition was actually smaller
(&you assumed it [gone] was the [not]'missing' 70G)
And that you let someLinuxDistro overwrite whole disk,
so the 'factory' [recovery] Win10 is physically gone=erased
and the only way to get it back is a DVD/USB of Win10
(since you have the M$license, I think you can just dl@M$)
Note that Win10 will end up erasing your Linux (VBox next time?)

Last edited by !!!; 12-19-2017 at 02:12 PM. Reason: Yggdrasil LQuid already taken
 
Old 12-18-2017, 02:21 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Hello and welcome to LQ.

I too tend to agree with syg00. Is there some reason you know there is a recovery partition? The BeOS OS was able to trick drives or at least CD's and use a odd way to make both a Mac and x86 image. Never heard of recovery partitions doing any special tricks other than maybe hide partition.
 
Old 12-21-2017, 03:15 PM   #6
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
Quote:
there was a recovery partition around 70 GB
Well. Some manufacturers could not spend one euro for a dvd, so they put the windows installer on a recovery partition.

In my personal notebook experience on an asus g75vw. Go to microsoft.com download the windows 10 iso from microsoft. boot that, and skip the key question. when windows 10 is running with configured network, it will grab the windows key from the uefi and actiates windows 10. my notebook has a windows 7 or 8.1 key in the bios, which i upgraded with microsoft free windows 10 thing last year. As this was a second hand purchase, I have no idea which windows was on it at point of sale.
I doubt that there is a requirement for the recovery partition.

No idea where MSI stores it's windows keys. could be a sticker on the bottom. Could be in uefi also.

--

I disagree with your statement. Could not see partition in gparted. I use gparted a lot with systemrescue-cd. for many many years. all those recovery partitions on notebooks are visible in gparted. and before systemrescue-cd i used gparted live-cd for quite a while.

It is more likely you nuked the partition table beforehand. or your operating system installer nuked that partition table beforehand.
--

Quote:
is there a way to write really really factory sectors to hdd?
nope.

but you could ask msi support for the disk image. sometimes some manufacturers hand out those.

when you just need windows, do what i suggested above. +benefit no bloatware from msi. all drivers are anyway available usually from the manufacturer

edit: well i hope you learnt something. make backups before you do something. check with sysrescue-cd and gparted tool what is on the disc before. and only look before you overwrite something.


--

edit 2:

Quote:
i want to recover that partition.
when you know the partition boundaries you could recreate the partition table.
assuming nothing has written in sectors you need. (which is kinda impossible ...)

Last edited by _roman_; 12-21-2017 at 03:20 PM.
 
Old 12-22-2017, 06:50 PM   #7
yggdrsail
LQ Newbie
 
Registered: May 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
70GB for a Recovery partition seems a little large in my experience. Is this a standard windows recovery partition or is it a backup you created?

Which version of windows do/did you have? Which version of Linux do you have? Did you actually install Linux and if so what option did you choose? There are usually several including something like "erase disk and install ?Linux" which would have overwritten everything on the drive. If you can boot whichever Linux you have installed or the install media, access a terminal and login as root and run the command below. Some Linux systems require you to preface the command with sudo.

Lower Case Letter L in the command. Post the output here. I'm not really sure about the situation you are in but you should always have a backup of important data on another drive and generally, you would be better off using windows backup tools for windows partition, Linux for Linux.
yeah it was default recovery partition. it's like bad sectors ffs. this is why i hate windows.rip 70gb..
 
Old 12-23-2017, 05:28 AM   #8
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
Was my suggestion any helpful?

The issue is more with greedy notebook manufacturers to put hole recovery stuff on the harddrive. I had this also on my asus g70sg. I just nuked it. a billion saved when you do not have to make a billion recovery dvds. Same with the handbook.

Recovery partition is nice for those apple users. They are unwilling to learn. so the support tells them, press during startup this key combination and the bios will use the recovery partition to just reinstall windows. they are too stupid to just install windows. since windows 2000 it is just telling windows the date and time, and okay. and also the network settings.

-- samsung does not even give a quickstart guide to the tablet. all online. Not a single piece of paper telling the basics.
 
Old 12-23-2017, 05:31 PM   #9
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
My 1 TB drive also shows as 931 GB
 
Old 12-23-2017, 05:46 PM   #10
shinobi59
Member
 
Registered: Oct 2004
Location: Dimension X
Distribution: All
Posts: 60

Rep: Reputation: 15
Assuming you ran df to get your free space? It will always show less than what was created due to system overhead (file system inodes ... etc.) By the way did you allocate with 1000 or with 1024 this also makes a difference:

e.g. a KILObyte is not 1000 bytes ... it is 1024 bytes. Therefore a megabyte is not 1000 kilobytes it is 1024 kilobytes:

1000 * 1000 = 1000000

1024 bytes (1K) * 1024 bytes (1k) = 1048576 <= Megabyte

1,000,000 bytes is not a megabyte there 1000000 * 100000 would not equal a gig.

1048576 * 1048576 however does equal a gig:

1048576 * 104856 = 1073741824 bytes or a Gigabyte.

1000000000 * 1000000000 is also not a TB.

1073741824 * 1073741824 = 1152921504606846976 bytes ... or a TB.

Even with proper numbers there is still overhead on the disk ... low level formatting // space used for the partition information // space used for the Physical Volume metadata is your using LVM // space used for the filesystem metadata (inodes) so you will not end up with exactly a TB.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering a Partition cov Linux - Newbie 2 05-08-2013 02:08 PM
recovering lost partition segieif03 Linux - General 1 05-24-2011 09:36 PM
Help recovering damaged partition matheusleite Linux - Newbie 1 10-10-2007 12:48 PM
Recovering a Partition? morrolan Linux - Newbie 5 09-05-2005 10:53 AM
Recovering partition belorion Linux - Software 5 08-09-2004 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration