Author Topic: NTFS partition on Ubuntu  (Read 309 times)

0 Members and 1 Guest are viewing this topic.

Offline Frustrated

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
NTFS partition on Ubuntu
« on: April 26, 2021, 03:08:16 pm »
Hi Everyone,

I have Ubuntu running on my home PC, my better half wanted windows, so I installed a separate SSD and installed windows. Now when I try to boot my buntu SSD it shows a black screen with;

No such partiton
Entering rescue mode
Grub rescue

Then nothing, I went into Gparted and it shows that /dev/sdb1 is ntfs (assuming that is why it isn't booting).  What do I do, do I delete this partition or change it to something else.
Any help would be appreciated.
Many thanks

Offline Rich J

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: 9
  • Gender: Male
  • Still a Linux Luvvie!
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #1 on: April 27, 2021, 10:13:35 am »
Hi, and welcome to the forum.

It may be that Windows installer has taken over from Grub therefore does not 'see' Ubuntu.  Also (from my memory) Ubuntu installs using Ext4 - did you specify NTFS when you installed it?  And is there important stuff on Ubuntu?  If you delete those partitions you will lose all data on them and you will need to reinstall from the beginning.

If you can access GParted, you must have the Ubuntu installation medium, so there are options as to what to try to recover Ubuntu.



The Linux Community Forum

Re: NTFS partition on Ubuntu
« Reply #1 on: April 27, 2021, 10:13:35 am »

Offline Frustrated

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #2 on: April 27, 2021, 10:49:36 am »
Hi Rich J,
I did not specify NTFS when I originally installed Ubuntu.  I have important documents on this drive that I would like to keep.  I have 3 hard drives on my PC, one 500gb SSD which has Ubuntu installed which is the one with the important data on it, 1 250gb ssd which has Windows 10 installed on it and a regular dard drive that has an old version of Ubuntu on it (Gparted is on this drive and that is how I got the screen shot).
Would I be able to use Gparted to convert the NTFS partition on the 500gb SSD to Ext4? 
Failing that what are my other options?
Many thanks

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1355
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #3 on: April 28, 2021, 08:46:06 am »
First of al I suggest very strongly that you use the old Ubuntu system (on HDD) to back up to a USB/DVD all your important files from the 500GB SSD. 

Since only one person in your family can use the computer at a time, I suggest that you:
1. install Ubuntu on the 250GB SSD alongside Windows and
2. use that new Ubuntu to copy your files from the 500GB SSD to the 250GB SSD.  The fact you can't boot into the 500GB drive doesn't mean that you can't read from it. 

If you have a truly huge amount of data I would reformat the 500GB SSD to EXT4 and save your archivable files there from your back-up. 

Keith


Offline Rich J

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: 9
  • Gender: Male
  • Still a Linux Luvvie!
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #4 on: April 28, 2021, 08:47:47 am »
Hi Rich J,
I did not specify NTFS when I originally installed Ubuntu.  I have important documents on this drive that I would like to keep.  I have 3 hard drives on my PC, one 500gb SSD which has Ubuntu installed which is the one with the important data on it, 1 250gb ssd which has Windows 10 installed on it and a regular dard drive that has an old version of Ubuntu on it (Gparted is on this drive and that is how I got the screen shot).
Would I be able to use Gparted to convert the NTFS partition on the 500gb SSD to Ext4? 
Failing that what are my other options?
Many thanks

Short answer to this is - I don't know!  I suspect it will be possible but what it will do to the data thereon.........? 

My way would be to copy off the relevant data to an external source (DVD or USB stick), or clone the drive if you have the know-how and then attempt to repair Grub.  If repairing Grub fails, then a clean re-install of Ubuntu to the 500Gb drive would do it.  On reinstall, remember to apply updates first, then update Grub.  This *should* find all the drives and list them at start-up for you to choose from.  When running Windows and Linux together, whether as a dual-boot on one drive or on separate drives, it is always the case to install Windows first, then Linux.  Windows boot loader will over-write settings and will not 'see' Linux, whereas Grub will 'see' all.

When repairing Grub, it is imperative to know where the bootloader files lie and as you have 2 drives with versions of Ubuntu on you need to repair Grub on that one.  ;)  Again, it may be the case that a simple update of grub will do the trick but get those important files copied first anyway - it's always best practice and regular backing up should be a given to guard against this sort of thing happening in the future.

Rich

EDIT:  +1 for the advice from Keith above.

The Linux Community Forum

Re: NTFS partition on Ubuntu
« Reply #4 on: April 28, 2021, 08:47:47 am »

Offline Frustrated

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #5 on: April 28, 2021, 11:09:18 am »
Hi Guys,

Thanks for your suggestions, I am new to Ubuntu, so how would I copy the data?  From the screenshots you can see the three drives listed, 250Gb Volume, 500GB Volume and Marks Ubuntu PC.
Marks Ubuntu PC (which I assume is the one I am using right now) shows 25 files.
500Gb volume shows three files SRecycle bin, System volume information and Pagefile, so I am assuming my data is in here somewhere, 
If I look in Srecycle bin or System volume it does not show any of my data, so at a lose as to what to do next.

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1355
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #6 on: April 28, 2021, 05:59:44 pm »
It's good that you can see the other drives as this means that you can copy files. 

To get to the data:
  double-click on the "Home" directory shown on your attachment,
  double-click on your user name (Mark?)
and you will see your files.  You can then copy them to a USB/DVD as required. 

A quicker and neater way to back up is to use terminal commands and we can guide you if you wish, as it looks a bit complicated to those unfamiliar with it.  Let us know.

Keith


Offline Frustrated

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #7 on: April 29, 2021, 03:20:32 pm »
Hi Keith,

Thanks for the reply, but the 500 GB Marks Ubuntu PC is the one I am using (Denoted by the image of a disc platter and arm).  The 500 GB Volume is the SSD denoted by the square icon, this only has SRECYCLE.BIN, System volume information folders and a Pagefile.sys file.  So I am taking it that I cannot access the SSD drive!

If this is the case and everything is lost, then should I just change the NFTS partition to Ext4 and attempt a grub repair?

Mark

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1355
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #8 on: April 29, 2021, 03:26:12 pm »
Ah, I ought to have looked more closely at your image. 
Just out of interest, try
Code: [Select]
df | grep sd
and copy the output here.


The Linux Community Forum

Re: NTFS partition on Ubuntu
« Reply #8 on: April 29, 2021, 03:26:12 pm »

Offline Frustrated

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #9 on: May 04, 2021, 11:44:09 am »
This is the output

[email protected]:~$ df | grep sd
/dev/sdb2      451651100 195440868 233244632  46% /
[email protected]:~$

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1355
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #10 on: May 04, 2021, 12:12:24 pm »
Interesting that Nautilus file manager sees all the drives but the df command sees only Mark's drive. 
Looks like you'll have to attempt a Grub repair after all.  Perhaps Rich can help with that.

This URL looks like it might help with a repair: https://www.tecmint.com/rescue-repair-and-reinstall-grub-boot-loader-in-ubuntu/.  You'll need to scroll down to "Reinstall Ubuntu GRUB Boot Loader". 
I found here the statement: "Usually, you should install the boot loader on your first machine hard disk MBR, which is /dev/sda in most cases. " - which might be relevant in your case.

Keith

Offline wishbone

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 4
  • I've just joined!
    • View Profile
    • Awards
Re: NTFS partition on Ubuntu
« Reply #11 on: May 04, 2021, 07:31:00 pm »
On the odd occasion that I`ve had a problem with not booting, I always use the Boot Repair Disk. This might not work for this problem, but it`s worth a try.
https://sourceforge.net/projects/boot-repair-cd/files/

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal