0 registered members (),
178
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums69
Topics113,610
Posts1,341,237
Members1,804
|
Most Online731 Jan 14th, 2020
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1218336
23/05/2011 19:20
23/05/2011 19:20
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Only took seven months to fix although to be fair it hasn't been very far up my list of priorities until last week
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1218432
23/05/2011 22:00
23/05/2011 22:00
|
Joined: Dec 2005
Posts: 8,416 Lightwater, Surrey
DaveG
Club Treasurer Member 311
|
Club Treasurer Member 311
Je suis un Coupé
Joined: Dec 2005
Posts: 8,416
Lightwater, Surrey
|
Haha, my similar problem took a mere 5 months so I'm much more of an expert than you (yeah, right ) Forum power rules! (eventually)
1996 Portofino 20vt & 2000 Pearl White Plus 1985½ & 2016 2017 Fiat 124 Spider + XF Sportbrake
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1409857
08/02/2013 23:21
08/02/2013 23:21
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
18 months since I've scribbled in here so thought I'd update it.
Why the flipping heck won't the Mint 14 install recognise our ASUS netbook (AMD C-60 based) as being 64bit when Mint 13 64 is running happily on it. I have a bootable USB stick install with 64bit and 32 bit versions on it. My desktop installed the 64bit verison from the stick fine but when I use the stick on my netbook it only shows up the 32 bit versions.
Answers on a postcard please. My Google skills are failing me tonight.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1436889
07/07/2013 20:36
07/07/2013 20:36
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Appending this as I have another question for the Linux gurus on here. It's that time of year again where I end up with spare time of an evening and like to fiddle with things.
I want to be able to edit a remote text file using Pluma on my local machine. The remote file is on a Raspberry Pi running Raspbian and it has a fixed IP address. I can SSH into the Pi fine and see it's contents in the file browser but can I hell as like open the relevant files in Pluma with access to change them. I can open them in Pluma via the file browser but not with the correct access level to save changes.
I did this last year successfully (using sftp IIRC) although it may have been using Ubuntu ninstead of Mint. I can use nano running on the Pi to do this but I don't want to.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1436975
08/07/2013 15:21
08/07/2013 15:21
|
rhodri
Unregistered
|
rhodri
Unregistered
|
I can SSH into the Pi fine and see it's contents in the file browser but can I hell as like open the relevant files in Pluma with access to change them. I can open them in Pluma via the file browser but not with the correct access level to save changes.
Not sure if I am reading this correctly. Where is the file stored on the pi and was it created by a root user? If it's permission related and not owned or allowed to be edited by the user then change it using chown/chmod first (e.g chmod 777 gives full access to the file). If it's a case of running pluma via ssh then you could do this by enabling X11 forwarding. This allows graphical applications to run on the machine via an ssh connection. Make sure it's set to on (usually is by default in linux) by checking the /etc/ssh/sshd_config file first, then just use 'ssh -X user@servername'. You should then be able to open the file via pluma and edit it. Again, make sure you have permission first. Alternatively, and assuming the permissions for the file in question are OK you could just use filezilla to ssh in and edit. On the other hand I could be barking up the wrong tree and in this case, just ignore this pointless post!
|
|
|
Re: Dual boot/Linux install help required
[Re: ]
#1437068
09/07/2013 08:25
09/07/2013 08:25
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
On the other hand I could be barking up the wrong tree and in this case, just ignore this pointless post! Not at all, I think you may have a point there regarding the permissions. when I was doing this last year (and it worked for me) it was just c source files that I'd written myself, this time it's network interface config files. I'll have a look later, working from home and constrained to Windows (as well doing the day job) for today. FWIW the SSH bit works fine and Pluma can open and read files remotely, it's just the saving of them it can't do.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1437095
09/07/2013 12:37
09/07/2013 12:37
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Sorted thanks, a case of not being able to see the wood for the trees.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1437099
09/07/2013 13:45
09/07/2013 13:45
|
Joined: Dec 2005
Posts: 33,563 Berlin
barnacle
Club Member 18 - ex-Minister without Portfolio
|
Club Member 18 - ex-Minister without Portfolio
Forum Demigod
Joined: Dec 2005
Posts: 33,563
Berlin
|
|
|
|
Re: Dual boot/Linux install help required
[Re: barnacle]
#1458804
18/11/2013 22:04
18/11/2013 22:04
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Last edited by Wishy; 18/11/2013 22:06.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1458806
18/11/2013 22:05
18/11/2013 22:05
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Great, massive post that took an hour to write disappears bug hits me too!
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1458808
18/11/2013 22:19
18/11/2013 22:19
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
More newbie Linux questions. I've set up a Raspberry as a file server using this guide (pretty much word for word with 2 x 1Tb USB drives hooked up to a powered hub). I've also installed miniDLNA so I can stream video and music from it through my TV.
Last edited by Wishy; 18/11/2013 22:20.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1458809
18/11/2013 22:20
18/11/2013 22:20
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
I give up.
Last edited by Wishy; 18/11/2013 22:22.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1458810
18/11/2013 22:59
18/11/2013 22:59
|
Joined: Dec 2005
Posts: 21,520 Aldershot
PeteP
Hon Club Member 005, Membership Secretary
|
Hon Club Member 005, Membership Secretary
Forum Fossil
Joined: Dec 2005
Posts: 21,520
Aldershot
|
Great, massive post that took an hour to write disappears bug hits me too! Copy and save somewhere else before hitting submit.
16VT and X1/9 1500
We must all do our part for the planet. I unplugged a row of electric cars that nobody was using.
|
|
|
Re: Dual boot/Linux install help required
[Re: PeteP]
#1458848
19/11/2013 10:32
19/11/2013 10:32
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
I used to do that ages ago when the forum software was a bit flaky but got out of the habit. Fortunately the back button got me back to my text so I have a copy. I just can't face splitting it into 10 chunks so I can post it yet, maybe later on.
Last edited by Wishy; 19/11/2013 22:06.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1459056
19/11/2013 22:10
19/11/2013 22:10
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
More newbie Linux questions. I've set up a Raspberry as a file server using this guide (pretty much word for word with 2 x 1Tb USB drives hooked up to a powered hub). I've also installed miniDLNA so I can stream video and music from it through my TV. So far so good and it does what it's supposed to but I'm seeing some weird issues that are affecting reliability. I appreciate that a £30 server running USB drives isn't going rival a proper RAID set up so as such there isn't anything on it that's mission critical but still... The issues areThe two drives are mounted to sda1 and sdb1 and every night a crontab runs a rsync between the two drives. On an almost daily basis one or both the drives decide to unmount themselves. Sometimes the drive won't show up or sometimes it will become mounted to sdc1 instead. How can I tell when and why this is happening?Sometimes the contents of folders completely disappears, I *think* this may be happening if the primary drive is unmounted meaning the rsync sees an empty source drive and subsequently empties the destination drive although this is just conjecture at the moment. How can tell for sure?Sometimes I'll see the folder and file structure of the mounted drive even when it isn't mounted. Browsing the USBHDD1/2 folder where the drive is mounted shpws all the files despite sudo fdisk -l not showing the drive as mounted. How can this be?Sometimes the files will look as if they aren't there only for them to turn up later. Finally, sometimes files decide to become read only which doesn't really matter for music and film but does for Word and Power-point files. All computers connect to the file using Samba and the backups user on the pi as shown in the guide. Remote computers are running Mint or Windows 7. Force reloading it doesn't seem to have any effect other than forcing the TV to take an hour for it to be able to see all the files again. The index shows up files that have long been removed and some aren't shown as being in the folders where they are located although they still play. How do I rebuild the index the of the miniDLNA server? I think I can make rsync write a log of what it does which may shed some light on it but but how do I find when and why the drives aren't mounted where I left them? Any other ideas from the Linux gurus on here are more than welcome. I have about 300Gb of music and video so recopying files over from main machine is getting rather tiresome.
Last edited by Wishy; 19/11/2013 22:16.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: barnacle]
#1459099
20/11/2013 10:20
20/11/2013 10:20
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
That's not a bad idea. I could add that into the crontab thingydodah after the rsync runs. I was thinking about putting a shutdown -r in there but this is less drastic.
Of course since putting this post the bloody thing seems to be behaving but then I haven't chucked any new files at it for a couple of days. I *think* my problems occur whenever I chuck a reasonable amount (say 10 Gb) of new data at it which the rysnc then will then copy over to the spare drive overnight.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1459100
20/11/2013 10:28
20/11/2013 10:28
|
rhodri
Unregistered
|
rhodri
Unregistered
|
The two drives are mounted to sda1 and sdb1 and every night a crontab runs a rsync between the two drives. On an almost daily basis one or both the drives decide to unmount themselves. Sometimes the drive won't show up or sometimes it will become mounted to sdc1 instead. How can I tell when and why this is happening?
Try the log file - think it's /var/log/dmesg or another file in /var/log.. Sometimes the contents of folders completely disappears, I *think* this may be happening if the primary drive is unmounted meaning the rsync sees an empty source drive and subsequently empties the destination drive although this is just conjecture at the moment. How can tell for sure?
Don't know how to tell but you could maybe write a very basic bash script which could incorporate the cronjob and mounting but also checks to see if the destination folders exist? Simple if statement which could log the outcome of errors Sometimes I'll see the folder and file structure of the mounted drive even when it isn't mounted. Browsing the USBHDD1/2 folder where the drive is mounted shpws all the files despite sudo fdisk -l not showing the drive as mounted. How can this be?
Sometimes the files will look as if they aren't there only for them to turn up later.
not sure but I'd recommend using the command df -h to see mounted volumes. I use fdisk -l to see available partitions to mount Finally, sometimes files decide to become read only which doesn't really matter for music and film but does for Word and Power-point files. All computers connect to the file using Samba and the backups user on the pi as shown in the guide. Remote computers are running Mint or Windows 7.
Try chmod/chown commands to set permissions on the files? Again, could add this to the bash script..
Last edited by rhodri; 20/11/2013 10:32.
|
|
|
Re: Dual boot/Linux install help required
[Re: ]
#1459101
20/11/2013 10:33
20/11/2013 10:33
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Thanks, I'll have a look at that later on.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1462071
07/12/2013 18:30
07/12/2013 18:30
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Well this is from my new and sparkly Mint 16 on an SSD now it's lightning quick. I only got the drive on Thursday and I have dual boot Win7/Mint 16 and a VM running Win8.1. Bloody expert I is now!
Cheers for the help above with reagrds the raspberry pi, I've delved a little further. It looks like my slave hard drive is crashing completely at some point as it isn't even there to mount. I generally have to unplug and replug it for it to appear so I can mount it again. If I don't chuck large amounts of files at it then it's fine but I'm still trying to get my music onto the flipping thing. The DLNA streaming works fine once the files are there and mirrored.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1462548
09/12/2013 21:44
09/12/2013 21:44
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
How come if the second drive (sdb1) has disappeared, and doesn't show in fdisk, that it the volume shows as mounted under df-h?
If I then unplug and replug the drive it becomes sdc1 and a subsequent reboot then puts it back as sdb1 where it should be.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1500050
24/07/2014 22:09
24/07/2014 22:09
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Back here again. In short the upshot of my hard-drive woes above were my hard drive itself. Thanks to a 2 year warranty it's all sorted. Now next connundrum......I want to make my Mint boot use a static IP address (for boring reasons involving running another Minecraft server for testing). I tried to do this (as I have successfuly before on different machines) by simply changing the /etc/network/interfaces file appropriately but something went awry (feel free to interpret this as me changing something I didn't understand but hey ho, it's most likely what happened) leaving me with... 1. No internet connection on boot. Manually doing it using sudo ifup eth0 works fine to give me a DHCP assigned IP address though. 2. If I use the static settings in the interfaces file then it appears to work (from ifconfig locally) and I can see the static IP address from my router but I don't get any internet connection. Possibly just some daft error in my file below but I'm sure I've tried every combination known to man... 3. The network applet thingy in the notifcation area has gone. I've tried various suggested routes on t'interweb involving installing and uninstalling network-manager and network-manager-gnome to no avail. This is less important because as long as I can change it with the interfaces file then I don't need the applet as once set to a static address I'm unlikely to need to change it. Two main questions1. How do I get my network (eth0 to be precise) to connect on log in again? 2. Once I've fixed the above then how to get the static connection connecting? The static version of the interfaces file is # interfaces(5) file used by ifup(8) and ifdown(8)
# auto lo
# iface lo inet loopback
iface eth0 inet static
address 192.168.0.51
netmask 255.255.255.0
gateway 192.168.0.1
I've set the DHCP pool of addresses to be assigned to 101 and above so there isn't a clash there. As usual any suggestions are more than welcome as this should be a piece of cake to fix (especially after the karfuffle I've recently had getting Mint to read a data drive made up of windows dynamic discs but that's another story) but isn't proving so......
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1500067
25/07/2014 07:41
25/07/2014 07:41
|
Joined: Dec 2005
Posts: 33,563 Berlin
barnacle
Club Member 18 - ex-Minister without Portfolio
|
Club Member 18 - ex-Minister without Portfolio
Forum Demigod
Joined: Dec 2005
Posts: 33,563
Berlin
|
When you boot up, before you connect manually, what does tell you ?
|
|
|
Re: Dual boot/Linux install help required
[Re: barnacle]
#1500069
25/07/2014 09:28
25/07/2014 09:28
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
At logon lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:188 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14752 (14.7 KB) TX bytes:14752 (14.7 KB)
After sudo ifup eth0 eth0 Link encap:Ethernet HWaddr 48:5b:39:c9:66:85
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::4a5b:39ff:fec9:6685/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1108 errors:0 dropped:0 overruns:0 frame:0
TX packets:955 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1109332 (1.1 MB) TX bytes:217551 (217.5 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:188 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14752 (14.7 KB) TX bytes:14752 (14.7 KB)
The 101 is my correctly assigned DHCP address and all works
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1500074
25/07/2014 09:57
25/07/2014 09:57
|
Joined: Dec 2005
Posts: 33,563 Berlin
barnacle
Club Member 18 - ex-Minister without Portfolio
|
Club Member 18 - ex-Minister without Portfolio
Forum Demigod
Joined: Dec 2005
Posts: 33,563
Berlin
|
Do you have in rc.local? (or possibly
|
|
|
Re: Dual boot/Linux install help required
[Re: barnacle]
#1500141
25/07/2014 20:12
25/07/2014 20:12
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Neither of those, nothing but "exit 0".
network_manager restart and network_manager restart both return command not found if I try them manually.
I guess I can try adding the ifup to rc.local for now to get round problem number 1 but I shouldn't have to.
Will do that later as WishySenior has Windows issues that I need to go and attend to.
Last edited by Wishy; 25/07/2014 20:12.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1500151
25/07/2014 22:11
25/07/2014 22:11
|
Joined: Jan 2006
Posts: 5,988 Sunny Darlo
Wishy
OP
Forum is my life
|
OP
Forum is my life
Joined: Jan 2006
Posts: 5,988
Sunny Darlo
|
Adding the ifup line into rc.local makes it connect automatically. Any attempt to go to static still fails though.
Up yours Photobucket.
|
|
|
Re: Dual boot/Linux install help required
[Re: Wishy]
#1500152
25/07/2014 22:24
25/07/2014 22:24
|
Joined: Dec 2005
Posts: 33,563 Berlin
barnacle
Club Member 18 - ex-Minister without Portfolio
|
Club Member 18 - ex-Minister without Portfolio
Forum Demigod
Joined: Dec 2005
Posts: 33,563
Berlin
|
/me scratches head. It's been too long since I've had to play at that level - usually Mint just works. Can you add an IP address? I don't recall if this works: Currently doing a mooc - the hardware software interface - and it's a doozy... gone from 'this is an and' to stack attacks in three weeks; my head is full.
|
|
|
|