Peppermint | Linux OS Community Forum
 
It is currently Wed Oct 16, 2019 3:45 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Bootup - second hard drive
PostPosted: Wed Oct 30, 2013 7:26 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
first command is a lower case L, not a 1

and can you also manually access the second drive .. THEN send the output from the 3rd command again please

======================================================

Can you also clear something up for me ..

I'm guessing /dev/sdb1 is the "storage" partition (as it's the first partition of the second HDD), but there also appears to be a swap partition on the second HDD.

Why is there a second swap partition ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 

 Post subject: Re: Bootup - second hard drive
PostPosted: Wed Oct 30, 2013 8:12 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
sudo fdisk -l
[sudo] password for herb:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006648d

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 149002239 74500096 83 Linux
/dev/sda2 149004286 156301311 3648513 5 Extended
/dev/sda5 149004288 156301311 3648512 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders, total 312500000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00043d06

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 305199103 152598528 83 Linux
/dev/sdb2 305201150 312498175 3648513 5 Extended
/dev/sdb5 305201152 312498175 3648512 82 Linux swap / Solaris

$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
gvfsd-fuse on /run/user/herb/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=herb)
/dev/sdb1 on /media/herb/New Volume type ext4 (rw,nosuid,nodev,uhelper=udisks2)


OK, those are the outputs from the first & third commands, the third one with the second hard dive mounted.

I can't account for the presence of a swap partition on the second HDD. I formatted it before starting this exercise. Before being formatted it had, at different times, two or three versions of Linux - and before that - i.e. when I bought it, I found it had Windows 8 professional on it. Maybe one of those is to blame?


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Wed Oct 30, 2013 9:02 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
OK, first let's backup your current fstab (just in case):
Code:
sudo cp -v /etc/fstab /etc/fstab.backup

now create the mountpoint:
Code:
sudo mkdir /media/new-volume

now open fstab for editing:
Code:
sudo gedit /etc/fstab

and add a 2 NEW lines at the bottom that read:-
Code:
# Added by Herbert to automount /dev/sdb1
UUID=676fb680-b808-4b1e-8ea2-13ca30cd37b8 /media/new-volume       ext4    defaults 0       0

SAVE the file.

Back in the terminal, run:
Code:
sudo mount -a

if there were NO errors (nothing returned), run:
Code:
sudo chown -r /media/new-volume

Now REBOOT to test it's automounted and writeable


if there WERE errors from that last command, DO NOT reboot .. instead, write down the error so you can post it here .. then rerun:
Code:
sudo gedit /etc/fstab

and comment out the last line .. so those 2 lines you addded earlier now read:-
Code:
# Added by Herbert to automount /dev/sdb1
# UUID=676fb680-b808-4b1e-8ea2-13ca30cd37b8 /media/new-volume       ext4    defaults 0       0

SAVE the file.

Now post the error here.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Thu Oct 31, 2013 2:01 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
There were errors. The first one was -

** (gedit:1804: WARNING ** could not load theme icon user - bookmarks - symbolic: Icon 'user-bookmarks symbolic' not present in theme

Later, after trying everything over again, I several times saw this at the top left of the screen -

"Keys: Continue to wait, or Press S to skip mounting or M for manual recovery"

Whenever I continued to wait the bar crept forwards at a snail's pace (like for 15 minutes) and then froze a millimetre short of the end. The only way I could get Peppermint to start was by pressing S.

Right now I'm going to re-install Peppermint so that I can start over again.....


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Thu Oct 31, 2013 2:17 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
The gtk warning are nothing to worry about.

and the bootup message is the system running a file system check .. what happens if you hit "s" to skip it ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Thu Oct 31, 2013 4:08 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
After I hit S to skip it, then Peppermint boots without much delay. But the second hard drive remains unmounted until I mount it by typing in my password.

(Edited for clarification) - On another computer I notice that Zorin 7 also mounts a second hard drive automatically. On the other hand Zorin 7 LITE doesn't automatically mount a second hard drive. Curious, eh?


Last edited by Herbert on Thu Oct 31, 2013 4:59 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Thu Oct 31, 2013 4:24 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
What's the contents of your:
Code:
gedit /etc/fstab

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Thu Oct 31, 2013 5:06 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
This shows up in Terminal - $ gedit /etc/fstab

** (gedit:1978): WARNING **: Could not load theme icon user-bookmarks-symbolic: Icon 'user-bookmarks-symbolic' not present in theme

And here is what simultaneously shows up in the notebook-like program that shows the actual contents -
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=7005b07a-65c8-452b-99d6-70ccef724b5b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=9693839c-087d-4cae-87f3-46081c0f0157 none swap sw 0 0


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Thu Oct 31, 2013 5:33 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Have you reinstalled again?

Reason I ask is because the /dev/sda1 UUID doen't match the output you sent before :shock:

========================================================

Now:-
Code:
# / was on /dev/sda1 during installation
UUID=7005b07a-65c8-452b-99d6-70ccef724b5b /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=9693839c-087d-4cae-87f3-46081c0f0157 none            swap    sw              0       0


Earlier:-
Code:
$ sudo blkid
/dev/sda1: UUID="05fa7510-d602-412f-822a-313d9f404987" TYPE="ext4"
/dev/sda5: UUID="9693839c-087d-4cae-87f3-46081c0f0157" TYPE="swap"
/dev/sdb1: LABEL="New Volume" UUID="676fb680-b808-4b1e-8ea2-13ca30cd37b8" TYPE="ext4"
/dev/sdb5: UUID="4684b86a-b8f6-4cb0-8c21-27a5ca2cc015" TYPE="swap"

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Thu Oct 31, 2013 7:42 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
Yes, I'm afraid I did install again. I'd got so confused that I assumed I'd really messed things up & assumed that it would be better to start from scratch.

My apologies, but this stuff is so far above my head that I feel like a monkey that a math teacher is trying to train to grasp algebra. I think we'd better give up.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL