LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2023, 01:18 AM   #16
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled

I was doing a lot of work on that drive in Manjaro before the problem and didn't use windows for weeks.
I am pretty sure that linux caused the problem on the drive not the windows shutdown. But I can see that restarting windows can fix it.

I would really like to fix it in linux as this is where the problem is exhibited.
 
Old 04-02-2023, 01:30 AM   #17
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,827
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
I imagine a dirty Manjaro shutdown could have left the NTFS filesystem in a state that only Windows could repair.
 
Old 04-02-2023, 03:25 AM   #18
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
I have updated now and works great.

Thanks to everyone who contributed to this problem, especially mrmazda for finding the cause of the problem and then a solution.
 
Old 04-02-2023, 09:12 AM   #19
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,604
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Quote:
Originally Posted by mrmazda View Post
By default, Windows never shuts down "correctly" for a multiboot with Linux system. There is a way to configure Windows to shut down "correctly" for a multiboot system, but I can't tell you how, and I'm sure Google could, as might someone else reading this thread.
Isn't this our old bogie "Fast boot"? By default, Windows does not shut down but instead carries out what Linux would call a hibernation. The contents of memory are written out to disk and then the whole thing stops. When you switch on again, the memory image is retrieved and all the usual initialisations can be skipped. People booting from a UEFI are always instructed to switch "Fast boot" off.
 
Old 04-02-2023, 05:10 PM   #20
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
After searching this on the internet I found out that this Fast Boot on Windows started with Windows 8.
I am running Wndows 7 and cannot find the setting they talk about to turn this on or off. So, this was not the cause of my problem.
I also don't boot from a UEFI.

However, doing a restart on my Windows into Grub did fix the drive and booted into Manjaro correctly with access to that drive.

Last edited by fhutt; 04-02-2023 at 10:31 PM.
 
Old 04-02-2023, 08:37 PM   #21
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,827
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Quote:
Originally Posted by hazel View Post
Isn't this our old bogie "Fast boot"?
I don't know what M$ calls it, but that describes the process as I understand it of leaving its filesystem(s) in a state Linux won't touch. At some point Windows started using a separate partition on GPT to facilitate the process.
 
Old 04-03-2023, 10:17 PM   #22
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
I think I found the cause of my problem.

I have setup my Manjaro to share the ntfs Data drive on in the Workgroup windows network. This appeared to work fine.

However, I just copied a file from a windows machine by windows explorer onto the Data drive under Manjaro. It appears to have copied fine.
But, when I rebooted the machine I have the same problem.

Launching windows and then restarting as before and shutting down from grub did not fix it.
I tried again but no good.

Looks like my problem is not solved after all.

I think that it is a linux problem because I can launch a live USB and it has no problem mounting and accessing that drive.
 
Old 04-04-2023, 02:09 AM   #23
fhutt
Member
 
Registered: Oct 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
More info.
On the internet I found a command 'lbsblk'.
There it showed the Data drive mounted as /srv/samba/ntfs.
Had a look at the contents and indeed it is my Data drive.
Had a look at the entry in fstab and my drive is defined as /home/frank/Data where it should be. But this is not how it is mounted.

How do I get samba to mount it in /home/frank/Data?

Last edited by fhutt; 04-04-2023 at 02:29 AM.
 
Old 04-04-2023, 02:14 AM   #24
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,827
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Quote:
Originally Posted by fhutt View Post
However, I just copied a file from a windows machine by windows explorer onto the Data drive under Manjaro.
It's entirely unclear to me what this means. Was this a copy across a network from a Windows-booted PC #1 to a Manjaro-booted PC #2 that has a Windows filesystem mounted, which is shared on the network, and to which Windows Explorer on PC #1 copied a file? If so, there may be a CIFS or Samba bug causing the problem.
 
Old 04-04-2023, 02:23 AM   #25
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,827
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Quote:
Originally Posted by fhutt View Post
On the internet I found a command 'lbsblk'.
There it showed the Data drive mounted as /srv/samba/ntfs.
Had a look at the contents and indeed it is my Data drive.
Had a look at the entry in fstab and my drive is defined as /home/frank/Data where it should be. But this is not how it is mounted.

It looks like this where samba mounts it. How do I get samba to mount it in /home/frank/Data?
Your original thread has been solved. This separate problem needs its own thread, apparently in networking instead of newbie, so that CIFS/Samba-interested people will notice. There you need to be clear about how many computers are running and where this "data" drive is connected, and how. It seems as though you are dealing with more than one mount for your data drive, one under Manjaro, and another on Windows via Manjaro.
 
1 members found this post helpful.
  


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
My system just hangs at white screen and will not hand over to OS after Debian 9 update Penny7364 Linux - Newbie 2 03-03-2018 05:01 PM
[SOLVED] Black screen after grub following update. Now can't access Timeshift to rollback update. mgerson Linux Mint 7 02-27-2016 03:40 AM
Laptop hangs when booting after soft-reset (after hard-booting to GNU/Linux) tauro_kpo Linux - Software 4 06-23-2015 02:19 AM
Centos 6 update now not booting dingo-den Linux - Newbie 13 03-15-2013 12:02 AM
Apt-get update, now MySQL is now Broken cmfarley19 Linux - Software 1 06-07-2005 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 AM.

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