Re: [Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread PeterMerchant via dorset

On 22/12/2019 18:31, Ralph Corderoy wrote:

Hi Peter,


  sudo -i parted /dev/sda unit B print

Model: ATA ST500LM012 HN-M5 (scsi)
Disk /dev/sdb: 500107862016B

It's not the 1 TB that you thought then?

 $ units 500107862016B bytes
465 GiB + 780 MiB + 24 KiB


Yeah, my mistake, but still plenty large enough for me.

Peter


--
 Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread Ralph Corderoy
Hi Peter,

> >  sudo -i parted /dev/sda unit B print
>
> Model: ATA ST500LM012 HN-M5 (scsi)
> Disk /dev/sdb: 500107862016B

It's not the 1 TB that you thought then?

$ units 500107862016B bytes
465 GiB + 780 MiB + 24 KiB

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread Terry Coles
On Sunday, 22 December 2019 16:10:59 GMT PeterMerchant via dorset wrote:
> >> After a look around with Dr. Google, my impression is that the partition
> >> flagged as data is a computer (Lenovo in this case) manufacturers
> >> partition for putting data when a recovery is being done. On that basis
> >> I have deleted it and created a new partition  for all the Unallocated
> >> space. Tomorrow we will se what happens.

Hmmm.  You never mentioned a partition named data.  I would assume that is the 
one called diag that you mentioned earlier.

-- 



Terry Coles



-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread PeterMerchant via dorset

On 22/12/2019 14:18, PeterMerchant via dorset wrote:

On 22/12/2019 13:35, Ralph Corderoy wrote:

Hi Peter,


When I try to install dual boot Kubuntu At the point where I want to
create  the linux partitions I can't because W10 has 4 primary
partitions and that is all that are allowed. So the extra space is
inaccessible.

After a look around with Dr. Google, my impression is that the partition 
flagged as data is a computer (Lenovo in this case) manufacturers partition for 
putting data when a recovery is being done. On that basis I have deleted it and 
created a new partition  for all the Unallocated space. Tomorrow we will se 
what happens.










--
 Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread PeterMerchant via dorset

On 22/12/2019 13:35, Ralph Corderoy wrote:

Hi Peter,


When I try to install dual boot Kubuntu At the point where I want to
create  the linux partitions I can't because W10 has 4 primary
partitions and that is all that are allowed. So the extra space is
inaccessible.

If you boot from a live Linux USB stick, what's the output of

 sudo -i parted /dev/sda unit B print

substituting /dev/sda for the system's hard disk.


Model: ATA ST500LM012 HN-M5 (scsi)
Disk /dev/sdb: 500107862016B
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start  End    Size   Type File system  Flags
 1  1048576B   105906175B 104857600B primary ntfs boot
 2  105906176B 13580107775B   13474201600B   primary  ntfs
 3  13580107776B   184598881791B  171018774016B  primary  ntfs
 4  499172507648B  500106788863B  934281216B primary ntfs diag

This does not show the unallocated area.

Gparted gives me:

/dev/sdb1   NTFS 'System reserved'  size 100MB   boot

/dev/sdb2   NTFS  'RECOVERY'  12.55GB

/dev/sdb3 (locked) NTFS 'WINDOWS'        159.2GB   gives a mount point 
peterm/dev/WINDOWS in gparted

unallocated unallocated 292.97GB

/dev/sdb4  NTFS  891MB diag

unallocated unallocated 1.02MB

I  kind of would like to keep the W10 stuff just in case someone absolutely 
INSISTS that they can only work with that.

responding to Terry, unlike WXP, I was able to take the spinning rust out of 
the laptop and plug it in to my PC instead of the usual disk, and it fired up 
and worked OK. That's how I was able to reset W10. Not worried about piracy as 
it came from a refurb laptop and I have the sticky label saying so.

Peter



--
 Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread Ralph Corderoy
Hi Peter,

> When I try to install dual boot Kubuntu At the point where I want to
> create  the linux partitions I can't because W10 has 4 primary
> partitions and that is all that are allowed. So the extra space is
> inaccessible.

If you boot from a live Linux USB stick, what's the output of

sudo -i parted /dev/sda unit B print

substituting /dev/sda for the system's hard disk.

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread Patrick Wigmore
On Sun, 22 Dec 2019 10:22:01 +, Terry Coles wrote:
> Normally a typical 
> Windows installation would only use two; the 'C:' Drive and, in
> later  installations, the Recovery Partition.  If it's a newish
> laptop there will also be a UEFI partition, but what the fourth one
> for?

I was surprised to hear from my Dad, who was trying to make a recovery 
USB drive, that Windows 10 can apparently not only have more than one 
Recovery Partition, but that it can automatically expand a recovery 
partition backwards into space formerly occupied by the "C: drive" 
partition, without user intervention!

I think there might also be another kind of partition that Windows 
uses, but I'm not really au fait with that.


-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Caps Lock indicator

2019-12-22 Thread Ralph Corderoy
Hi Tim,

> I have made a small script that pops up an image when I press the
> caps-lock key, its is not perfect but at least I get a warning that I
> have pressed\tapped the caps lock key.

Was disabling the key not an option?

> export DISPLAY=:0.0
...
> I think if I set display to :0.1 it display on the laptop screen

Yes, first number is the X server's ‘display’ on that machine.
A display is one or more screens, and input devices like keyboard and
mouse.  Second number is the screen within that display.

> so how can I get it to display on both?

Do what you're doing, whatever that is, twice with different values of
DISPLAY.  Or see if notify-send(1) is sufficient for your purposes and
if your desktop environment can display notifications on all screens.

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


Re: [Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread Terry Coles
On Sunday, 22 December 2019 09:36:35 GMT PeterMerchant via dorset wrote:
> I have been given a dead Laptop and am trying to use the 1TB hard disk out
> of it. It is W10 and I have reset W10 to get rid of all the previous owners
> stuff, and then I used a windows utility to shrink the Windows space and
> create  some free disk.

Do you want to retain the Windows 10 installation, or are you simply trying to 
make use of the disc in a Linux installation?

> When I try to install dual boot Kubuntu At the point where I want to create 
> the linux partitions I can't because W10 has 4 primary partitions and that
> is all that are allowed. So the extra space is inaccessible.

That's true.

> I am not sure what my next steps could be. Can I convert a W10 partition to
> be an extended partition, or even be devilish and blow away the recovery
> partition?
> 
> Appreciate your thoughts.

Well if it was me, I'd delete all of the existing partitions and start with a 
pristine 1 TB of free space.

You don't say what the four existing partitions are for.  Normally a typical 
Windows installation would only use two; the 'C:' Drive and, in later 
installations, the Recovery Partition.  If it's a newish laptop there will 
also be a UEFI partition, but what the fourth one for?

I would also suggest that trying to run the Windows installation when the disc 
is plugged into another machine is likely to fail unless you have the original 
Windows code.  Even then, you may be accused of being a pirate ;-)

-- 



Terry Coles



-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk


[Dorset] Dual Boot W10/Linux partition problem

2019-12-22 Thread PeterMerchant via dorset

I have been given a dead Laptop and am trying to use the 1TB hard disk out of 
it. It is W10 and I have reset W10 to get rid of all the previous owners stuff, 
and then I used a windows utility to shrink the Windows space and create  some 
free disk.

When I try to install dual boot Kubuntu At the point where I want to create  
the linux partitions I can't because W10 has 4 primary partitions and that is 
all that are allowed. So the extra space is inaccessible.

I am not sure what my next steps could be. Can I convert a W10 partition to be 
an extended partition, or even be devilish and blow away the recovery partition?

Appreciate your thoughts.

Peter



--
 Next meeting: BEC, Bournemouth, Tuesday, 2020-01-07 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk