LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2018, 08:28 PM   #16
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925

No worries. The 7.5GB is probably Swap, the other one perhaps a NTFS boot partition? It's 2.30am here and I'm not quite firing on all cylinders.

Anyway, just go for it and boot off the USB HDD.
 
Old 01-10-2018, 09:02 PM   #17
Coop_012
Member
 
Registered: Jan 2018
Location: US
Distribution: Debian 9.6 Stretch
Posts: 97

Original Poster
Rep: Reputation: Disabled
It works!!!! Thanks hydurga!
 
Old 01-10-2018, 09:21 PM   #18
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Excellent.

If you're still there, could you possibly (when booted up off the USB HDD), paste the output from the following two commands here just so I can figure out those 1st two partitions:

Code:
lsblk

sudo parted -l
 
Old 01-10-2018, 09:23 PM   #19
Coop_012
Member
 
Registered: Jan 2018
Location: US
Distribution: Debian 9.6 Stretch
Posts: 97

Original Poster
Rep: Reputation: Disabled
Could I tomorrow? I’m sorry
 
Old 01-10-2018, 09:31 PM   #20
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Coop_012 View Post
Could I tomorrow? I’m sorry
Of course.
 
Old 01-11-2018, 09:32 AM   #21
Coop_012
Member
 
Registered: Jan 2018
Location: US
Distribution: Debian 9.6 Stretch
Posts: 97

Original Poster
Rep: Reputation: Disabled
Okay I went to start it back up today.... and the same problem occurred, but it started up yesterday. Should I try the umount and fsck again once I get home?
 
Old 01-11-2018, 11:03 AM   #22
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Coop_012 View Post
Okay I went to start it back up today.... and the same problem occurred, but it started up yesterday. Should I try the umount and fsck again once I get home?
It wouldn't be good if you had to do that every time though. Have you used that particular USB HDD without problems in the past? Do you have another USB cable you could swap for the existing one? Could you try plugging it into a different USB port?

I would suggest you do indeed do the fsck again, and then try the latter two attempted fixes, one at a time, making sure first that the disk has been fsked and then, after each fix attempt, booting up again several times to see if it has made a difference.

When you are finished with the USB HDD after booting up from it, are you properly closing Mint and switching the computer off before detaching the USB HDD?
 
1 members found this post helpful.
Old 01-11-2018, 12:07 PM   #23
Coop_012
Member
 
Registered: Jan 2018
Location: US
Distribution: Debian 9.6 Stretch
Posts: 97

Original Poster
Rep: Reputation: Disabled
I will try that, in the meantime, it has corrupted any time I’ve tried the shutdown command in the terminal, instead of using the the GUI
 
Old 01-11-2018, 12:09 PM   #24
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Which shutdown command are you using?
 
Old 01-11-2018, 12:15 PM   #25
Coop_012
Member
 
Registered: Jan 2018
Location: US
Distribution: Debian 9.6 Stretch
Posts: 97

Original Poster
Rep: Reputation: Disabled
Code:
shutdown
it then says it will shutdown in the next minute, but in the format of 12:13:42 or whatever. I ran this command as well like you asked
Code:
lsblk

sudo parted -l
The results were

Code:
Model: ATA TOSHIBA MK3265GS (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size    Type      File system     Flags
 1      1049kB  317GB  317GB   primary   ext4            boot
 2      317GB   320GB  3075MB  extended
 5      317GB   320GB  3075MB  logical   linux-swap(v1)


Model: WD My Passport 0820 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                  Flags
 1      20.5kB  210MB   210MB   fat32           EFI System Partition  boot, esp
 3      211MB   300GB   300GB   ext4
 2      992GB   1000GB  7999MB  linux-swap(v1)


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
Model: TEAC DV-W28S-VTF (scsi)                                            
Disk /dev/sr0: 2048B
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:
 
Old 01-11-2018, 12:45 PM   #26
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks for that info. So that explains the partitions - the first is the EFI system partition, the second the Swap. All good.

Wouldn't you normally need to be root to shutdown (i.e. prefix the shutdown command with a sudo?). When you're shutting down in this way, have you completely exited X (the GUI) or do you still have the GUI running?
 
Old 01-11-2018, 01:01 PM   #27
Coop_012
Member
 
Registered: Jan 2018
Location: US
Distribution: Debian 9.6 Stretch
Posts: 97

Original Poster
Rep: Reputation: Disabled
i did not know i could leave the gui so i still have it running, it doesnt require root access to shutdown yet i cannot do it over ssh (if that helps) btw im typing this on my system!

Last edited by Coop_012; 01-11-2018 at 01:05 PM. Reason: Specification
 
Old 01-11-2018, 01:30 PM   #28
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Coop_012 View Post
i did not know i could leave the gui so i still have it running, it doesnt require root access to shutdown yet i cannot do it over ssh (if that helps) btw im typing this on my system!
I'm no expert, but if you have a GUI still running then I think it would be best (more orderly for the system) to shut down the system through that GUI, not through the command line.

You should test the fault by doing so and rebooting several times to see if the problem reoccurs.
 
1 members found this post helpful.
Old 01-11-2018, 01:33 PM   #29
Coop_012
Member
 
Registered: Jan 2018
Location: US
Distribution: Debian 9.6 Stretch
Posts: 97

Original Poster
Rep: Reputation: Disabled
Thank you so much! You really stuck it out with me and replied fast! thanks for helping this newbie out
 
Old 01-11-2018, 01:39 PM   #30
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Coop_012 View Post
Thank you so much! You really stuck it out with me and replied fast! thanks for helping this newbie out
Let us know how it goes. It would be nice to determine why your file system is not unmounting cleanly, if that's what the problem is.
 
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
/dev/vda1 contacins a file system with errors bernhardFlokstra Linux - Server 1 04-09-2013 09:59 AM
Disk /dev/sdb3 doesn't contain a valid partition table penduleum Linux - Hardware 7 05-28-2012 08:18 AM
/dev/hdc1 contains a file system with errors, Check Forced mvrieze Slackware 5 01-10-2012 10:24 AM
dd if=/dev/sda1 of=dev/sdb3 turns a 10gig partition into a 130gig partition ? zonemikel Linux - Hardware 4 09-12-2009 05:53 PM
write errors to log file, instead of /dev/null c_r2005 Linux - General 2 07-30-2005 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:04 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