Fedora Linux Support Community & Resources Center
  #1  
Old 29th August 2017, 09:55 AM
ramzes777 Offline
Registered User
 
Join Date: Aug 2017
Location: New Zealand
Posts: 23
windows_98_nt_2000firefox
Need help with stuffed partitions

Good evening/day/morning,

I was planning to make it a dual boot laptop with Windows 10/Linux and was working to join a main Windows partition with another one infront of it, when this failed. After PC was restarted and the actual process begun, It was stuck on 0% for about 30m and eventually restarted the machine one more time.

No windows 10 start up recovery tools could fix this mess. This was a 3rd party tool that worked for me beforehand.

What are my options? I have had some data that I sort of need, but can leave without. I booted via Live CD and this is what fdisk produced. Is it possible to mount the partitions in this situation?

[liveuser@localhost-live ~]$ fdisk -l

fdisk: cannot open /dev/sda: Permission denied

fdisk: cannot open /dev/sdb: Permission denied

fdisk: cannot open /dev/loop0: Permission denied

fdisk: cannot open /dev/loop1: Permission denied

fdisk: cannot open /dev/loop2: Permission denied

fdisk: cannot open /dev/mapper/live-rw: Permission denied

fdisk: cannot open /dev/mapper/live-base: Permission denied


I will appreciate any feedback.
Thanks.
Reply With Quote
  #2  
Old 29th August 2017, 02:07 PM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 677
linuxfedorafirefox
Re: Need help with stuffed partitions

fdisk needs to be run as root. IIRC there is no password set for root on the Live DVD so you just do:
Code:
$ su -
# fdisk -l
Then you can mount the partitions on the real disks that fdisk lists and see what is on them, e.g.:
Code:
# mkdir /mnt/sda1
# mount /dev/sda1 /mnt/sda1
# ls /mnt/sda1
# mkdir /mnt/sdb1
# mount /dev/sdb1 /mnt/sdb1
# ls /mnt/sdb1
# umount /mnt/sdb1
# umount /mnt/sda1
# exit
Reply With Quote
  #3  
Old 30th August 2017, 01:41 AM
ramzes777 Offline
Registered User
 
Join Date: Aug 2017
Location: New Zealand
Posts: 23
windows_7firefox
Re: Need help with stuffed partitions

Quote:
Originally Posted by kldixon View Post
fdisk needs to be run as root. IIRC there is no password set for root on the Live DVD so you just do:
Code:
$ su -
# fdisk -l
Then you can mount the partitions on the real disks that fdisk lists and see what is on them, e.g.:
Code:
# mkdir /mnt/sda1
# mount /dev/sda1 /mnt/sda1
# ls /mnt/sda1
# mkdir /mnt/sdb1
# mount /dev/sdb1 /mnt/sdb1
# ls /mnt/sdb1
# umount /mnt/sdb1
# umount /mnt/sda1
# exit

Thanks, will try today when at home.
Reply With Quote
  #4  
Old 30th August 2017, 11:46 PM
ramzes777 Offline
Registered User
 
Join Date: Aug 2017
Location: New Zealand
Posts: 23
windows_7chrome
Re: Need help with stuffed partitions

Quote:
Originally Posted by kldixon View Post
fdisk needs to be run as root. IIRC there is no password set for root on the Live DVD so you just do:
Code:
$ su -
# fdisk -l
Then you can mount the partitions on the real disks that fdisk lists and see what is on them, e.g.:
Code:
# mkdir /mnt/sda1
# mount /dev/sda1 /mnt/sda1
# ls /mnt/sda1
# mkdir /mnt/sdb1
# mount /dev/sdb1 /mnt/sdb1
# ls /mnt/sdb1
# umount /mnt/sdb1
# umount /mnt/sda1
# exit
Tried what was suggested. But got the message:

Mount: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other error.

I am assuming that Live CD needs NTFS drivers installed as this is a Windows NTFS partition?

ramzes.
Reply With Quote
  #5  
Old 31st August 2017, 09:36 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,073
linuxchrome
Re: Need help with stuffed partitions

not necessarily, sda3 could be an OEM or Windows Recovery Partition. Which Live media are you using? If workstation there will be a utility called Disks. Run that and it will show a lot more information about the existing partitions on your SSD. Other images should have GParted which does the same thing but allows you to also edit the partition layout.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #6  
Old 31st August 2017, 10:21 AM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 677
linuxfedorafirefox
Re: Need help with stuffed partitions

Also, could you list the output of fdisk -l, run as root, here, in code tags
https://forums.fedoraforum.org/misc.php?do=bbcode#code

Just noticed your other thread.

Last edited by kldixon; 31st August 2017 at 10:32 AM.
Reply With Quote
  #7  
Old 31st August 2017, 10:46 AM
ramzes777 Offline
Registered User
 
Join Date: Aug 2017
Location: New Zealand
Posts: 23
windows_98_nt_2000firefox
Re: Need help with stuffed partitions

Sorry for the image quality, for some silly reason the screenshot I've saved on the USB drive on Linux live machine would is not viewable on PC and in Google Drive.

https://drive.google.com/open?id=0B_...VWX09GME1taDg0
Reply With Quote
  #8  
Old 31st August 2017, 10:51 AM
ramzes777 Offline
Registered User
 
Join Date: Aug 2017
Location: New Zealand
Posts: 23
windows_98_nt_2000firefox
Re: Need help with stuffed partitions

Basically where there is free space on the photo is my Primary Windows partition. I run a job of joining with preceding small partition of 500mb, that was unallocated space.
I must say I attempted to use TestDisk to fix it.
Reply With Quote
  #9  
Old 31st August 2017, 11:19 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,073
linuxchrome
Re: Need help with stuffed partitions

actually it looks like rather than merge any partitions it's just deleted your windows operating system partition, as there is no way you'd fit windows into a 1 GiB partition.

If it were me, I'd start again from scratch with an empty drive and reinstall windows if you still want it first.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #10  
Old 3rd September 2017, 10:17 AM
ramzes777 Offline
Registered User
 
Join Date: Aug 2017
Location: New Zealand
Posts: 23
windows_98_nt_2000firefox
Re: Need help with stuffed partitions

Quote:
Originally Posted by antikythera View Post
actually it looks like rather than merge any partitions it's just deleted your windows operating system partition, as there is no way you'd fit windows into a 1 GiB partition.

If it were me, I'd start again from scratch with an empty drive and reinstall windows if you still want it first.
Thank you for your reply. I will just start with a fresh install. As there is no data I horribly need.
Reply With Quote
  #11  
Old 9th September 2017, 09:54 AM
ramzes777 Offline
Registered User
 
Join Date: Aug 2017
Location: New Zealand
Posts: 23
windows_98_nt_2000firefox
Re: Need help with stuffed partitions

Figured out what was the problem.
Disk merge damaged system W10 partition.
Further experiments with testdisk converted my disk type to MBR. I further struggled to change it back to GPT and keep the data and W10 recovery partition.
So I ended up using Diskpart off W10 bootable USB, and removed all partitions and cleared the disk.
Changed disk type to GPT, formatted, partitioned and installed Linux
Reply With Quote
Reply

Tags
partitions, stuffed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Stuffed up grub 2 KiwiLegion Using Fedora 4 16th April 2013 10:15 AM
KDE desktop stuffed up tameboy Using Fedora 4 10th August 2008 12:20 PM
Stuffed GUI xion101 Using Fedora 4 10th December 2005 04:57 PM
stuffed my key mappings! tfindlay Using Fedora 2 13th September 2005 02:31 PM


Current GMT-time: 03:13 (Sunday, 24-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat