Peppermint | Linux OS Community Forum
 
It is currently Tue Aug 20, 2019 12:43 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Bootup - second hard drive
PostPosted: Sat Oct 26, 2013 1:25 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
When I previously asked this I was told to raise it in the "Hardware" forum, so here I am.

How do I automount a second HDD at bootup?

There was mention of something called fstab.

As a sort of follow-up I've looked at what Synaptic Package Manager has to offer, and see that the Zorin version includes a function called Mount Manager, but I don't see it in Peppermint.

I've looked at the disk utility function and am toying with that so see if I persuade that to cause the second hard drive to be automatically recognized & mounted..... but no success so far. Right now I'm reformatting it to extension 4 to see if that helps.....


Top
 Profile  
 
 

 Post subject: Re: Bootup - second hard drive
PostPosted: Sat Oct 26, 2013 2:20 pm 
Offline

Joined: Fri Oct 21, 2011 2:04 am
Posts: 263
Location: Dundee, Scotland
Hi Herbert

You can mount your second drive at startup by editing the fstab file usually found at /etc/fstab but it involves adding a line of code which requires a fair bit of code knowledge (something I don't have), The mount manager you mentioned sounds interesting I've never heard of that before but if it gives a simple to use GUI that allows you automount drives with a simple to use interface then it's something that should be included with every Linux distros not just Zorin




Good luck


Graeme


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Sat Oct 26, 2013 3:46 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
can you open a terminal and post the output from these commands:
Code:
sudo fdisk -l

and
Code:
sudo blkid

can you also make sure the partition(s) you want mounted at boot are mounted, then send the output from:
Code:
mount


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

there used to be 2 GUI apps for this .. pysdm and mountmanager .. but both have recently been removed from the Ubuntu repos due to them being unmaintained and having inconsistencies with the way they handle more recent file systems, etc. :(

_________________
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: Sat Oct 26, 2013 5:00 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
PCNetSpec -

Thanks for your effort. I tried typing each of those into the Terminal, but all I got each time was what (to me) was mostly incomprehensible.

Now & again there was a statement saying that "to do that" I had to be "root". But when I tried to metamorphose myself into "root", I got page after page of material that seemed to be installing itself on the first hard drive and that (again, to me) was even more incomprehensible!


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Sat Oct 26, 2013 5:51 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Copy and paste the commands into the terminal one at a time.

the first 2 that start with "sudo" will prompt for your password.

Be Aware - when entering your password into a terminal nothing will be echoed to screen, not even ****** b ut you password IS going in, so just type it and hit enter.

then copy what's returned in the terminal, and paste it into this topic.

_________________
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: Sat Oct 26, 2013 7:13 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
PCNetSpec -

Thanks for being patient with me. Here's what showed up - I hope it includes the right bits. I see it includes a reference to a 2gb drive. That must be because a 2gb flash drive was plugged in - I used the 2gb drive to transfer the text from the Peppermint computer to the Zorin one, which I'm using to communicate with this forum. If that causes a problem, perhaps I'd better do the whole thing again using only the Peppermint computer?

P.S. - (EDIT) - I've deleted from this post the lengthy text that I seem to have got garbled. See the more accurate version in my later posting.


Last edited by Herbert on Sun Oct 27, 2013 7:38 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Sat Oct 26, 2013 8:52 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
for clarity..

the command is

SUDO FDISK -L

but all lower case.

BTW, you do realise you can copy/paste in the terminal, right ?

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

I'm guessing /dev/sdb1 (292E-1DFD) is the "storage" partition, and it's still formatted as FAT/FAT32 (windows file system) .. and that you also have a 2GB flash card inserted .. is that correct ?

_________________
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: Sat Oct 26, 2013 11:46 pm 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
PCNETSpec -

OK, here's trying again. Before I did anything I unplugged the flash drive and formatted the second hard drive to FAT.

I notice incidentally that when I began stage 2 (i.e. when I typed sudo blkid) it didn't ask for my password.

1.

sudo fdisk -l
[sudo] password for herb:

Disk /dev/sda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 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: 0x00013aa7

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 109932543 54965248 83 Linux
/dev/sda2 109934590 117229567 3647489 5 Extended
/dev/sda5 109934592 117229567 3647488 82 Linux swap / Solaris

Disk /dev/sdb: 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: 0x0003817b

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 156296384 78148161 c W95 FAT32 (LBA)

2.

herb@Compaq-dc7800p ~ $ sudo blkid
/dev/sda1: UUID="87afd07a-5fc7-4e02-be19-d85430e4a16c" TYPE="ext4"
/dev/sda5: UUID="d9de5acc-d78a-4e2e-934f-1419f0119770" TYPE="swap"
/dev/sdb1: UUID="292E-1DFD" TYPE="vfat"
herb@Compaq-dc7800p ~ $

3.

herb@Compaq-dc7800p ~ $ 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/292E-1DFD type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Sat Oct 26, 2013 11:51 pm 
Offline
User avatar

Joined: Tue Sep 27, 2011 12:15 am
Posts: 940
Location: Lake Gaston NC
Pardon the interruption but please use pastebin to post lengthy output.
Lengthy output = 25+ lines or thereabout.

TIA

_________________
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835
http://peppermintos.com/guide/
viewforum.php?f=5
viewforum.php?f=44


Top
 Profile  
 
 Post subject: Re: Bootup - second hard drive
PostPosted: Sun Oct 27, 2013 7:58 am 
Offline

Joined: Tue Jun 18, 2013 4:36 pm
Posts: 19
I'm sorry if I've contravened in some forum rule, but I've never heard of pastebin.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page 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