9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] access files from 9front to Linux on the same laptop (2 harddrives).
@ 2023-06-12 14:29 plan6
  2023-06-12 14:37 ` Jacob Moody
  2023-06-12 15:55 ` ori
  0 siblings, 2 replies; 5+ messages in thread
From: plan6 @ 2023-06-12 14:29 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]


Hello :)

Let's say I have 2 computers.
I can "sshfs" from 9front to mount the distant (Linux) folders to /n/ssh.

Let's say now that I have 2 SSD on my laptop.
One with 9front, that boots automatically and one with 
Linux, that I can occasionally select at boot with GRUB.

Is there a way to mount the Linux partitions from 9front, to transfer files ?

On 9front, 9front is labeled as /dev/sdE0 and Linux is /dev/sdE2. 

As I'm only testing, the Linux is not currently encrypted.

Hope that's not a moronic question and thank you for any feedback.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-M98bde67d8eaa615224298c5f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1553 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] access files from 9front to Linux on the same laptop (2 harddrives).
  2023-06-12 14:29 [9fans] access files from 9front to Linux on the same laptop (2 harddrives) plan6
@ 2023-06-12 14:37 ` Jacob Moody
  2023-06-12 15:03   ` plan6
  2023-06-12 15:55 ` ori
  1 sibling, 1 reply; 5+ messages in thread
From: Jacob Moody @ 2023-06-12 14:37 UTC (permalink / raw)
  To: 9fans

On 6/12/23 09:29, plan6@room3420.net wrote:
> 
> Hello :)
> 
> Let's say I have 2 computers.
> I can "sshfs" from 9front to mount the distant (Linux) folders to /n/ssh.
> 
> Let's say now that I have 2 SSD on my laptop.
> One with 9front, that boots automatically and one with
> Linux, that I can occasionally select at boot with GRUB.
> 
> Is there a way to mount the Linux partitions from 9front, to transfer files ?
> 
> On 9front, 9front is labeled as /dev/sdE0 and Linux is /dev/sdE2.
> 
> As I'm only testing, the Linux is not currently encrypted.
> 
> Hope that's not a moronic question and thank you for any feedback.
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions <https://9fans.topicbox.com/groups/9fans> + participants <https://9fans.topicbox.com/groups/9fans/members> + delivery options <https://9fans.topicbox.com/groups/9fans/subscription> Permalink <https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-M98bde67d8eaa615224298c5f>

If your linux just uses ext[2-4], you can maybe use sigrid's https://git.sr.ht/~ft/ext4srv
If you are doing anything more (like encryption or lvm) you're likely on your own.

-
moody


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-Mcd92c235ef478754862d949e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] access files from 9front to Linux on the same laptop (2 harddrives).
  2023-06-12 14:37 ` Jacob Moody
@ 2023-06-12 15:03   ` plan6
  0 siblings, 0 replies; 5+ messages in thread
From: plan6 @ 2023-06-12 15:03 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

Just tested. It works perfectly.
Thank you Moody and Sigrid :)
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-M47c091e20adaacc4442c1f50
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 800 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] access files from 9front to Linux on the same laptop (2 harddrives).
  2023-06-12 14:29 [9fans] access files from 9front to Linux on the same laptop (2 harddrives) plan6
  2023-06-12 14:37 ` Jacob Moody
@ 2023-06-12 15:55 ` ori
  2023-06-12 16:45   ` plan6
  1 sibling, 1 reply; 5+ messages in thread
From: ori @ 2023-06-12 15:55 UTC (permalink / raw)
  To: 9fans

Quoth plan6@room3420.net:
> 
> Hello :)
> 
> Let's say I have 2 computers.
> I can "sshfs" from 9front to mount the distant (Linux) folders to /n/ssh.
> 
> Let's say now that I have 2 SSD on my laptop.
> One with 9front, that boots automatically and one with 
> Linux, that I can occasionally select at boot with GRUB.
> 
> Is there a way to mount the Linux partitions from 9front, to transfer files ?
> 
> On 9front, 9front is labeled as /dev/sdE0 and Linux is /dev/sdE2. 
> 
> As I'm only testing, the Linux is not currently encrypted.
> 
> Hope that's not a moronic question and thank you for any feedback.

2 ideas:

1. create a fat partition for shared files
2. boot the linux in vmx(1), giving it your hard disk
   as its drive, then serve 9p from the virtualized
   linux.


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-M8a7eea175b825c8eb6621746
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] access files from 9front to Linux on the same laptop (2 harddrives).
  2023-06-12 15:55 ` ori
@ 2023-06-12 16:45   ` plan6
  0 siblings, 0 replies; 5+ messages in thread
From: plan6 @ 2023-06-12 16:45 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

Thanks Ori, I will test your solution too. Maybe it will work with an encrypted Linux SSD, which would be a huge plus :)
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-Maa899b92b79be103545a9500
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 842 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-12 16:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12 14:29 [9fans] access files from 9front to Linux on the same laptop (2 harddrives) plan6
2023-06-12 14:37 ` Jacob Moody
2023-06-12 15:03   ` plan6
2023-06-12 15:55 ` ori
2023-06-12 16:45   ` plan6

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).