Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

A Short History For Beginners About Dual Boot With Windows


  • Please log in to reply
25 replies to this topic

#16 rufwoof

rufwoof

  •  Avatar image
  • Members
  • 257 posts
  • OFFLINE
  •  
  • Local time:07:43 AM

Posted 10 October 2023 - 03:49 AM

The problem started with version 2.34

 

Fortunately my Xenial Pup uses 2.23

 

Sometimes newer isn't better.

What problem? Oh glibc ... No problem here. OpenBSD  :bananas:

Well not strictly. My grub4dos has a pointer to one Linux partition that I boot rarely nowadays (Fatdog when I do). The other chains to OpenBSD, within which I have standard/official 7.3 OpenBSD and also Fuguita kernels. The Fuguita boots totally into ram and uses pax (sync) as the 'save' method, so savefolder style in Puppy speak, that I generally set up once and then just reboot that repeatedly (pristine/clean) rather than saving changes (store date/files outside of that). So grub4dos entry for that of ...

 

title OpenBSD 7.3 
root (hd1,0)
makeactive
chainloader +1
boot
 
So much simpler, better documented, lean and secure code. Less hardware supported, my laptop for instance - the wifi isn't supported, but I find tethering my phone and using that for wifi access for the laptop to be better anyway, charges the phone at the same time and easier to connect (consistent laptop/phone tethering method, phone used to actually connect to wifi or use G5 when no wifi is available).


BC AdBot (Login to Remove)

 


#17 JohnnyBeeGood

JohnnyBeeGood

  •  Avatar image
  • Members
  • 3,607 posts
  • OFFLINE
  •  
  • Local time:03:43 AM

Posted 10 October 2023 - 05:17 AM

Interesting.


Edited by JohnnyBeeGood, 10 October 2023 - 08:06 AM.


#18 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 35,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:07:43 AM

Posted 10 October 2023 - 10:27 AM

Rufwoof,

What wifi card do you have?

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#19 rufwoof

rufwoof

  •  Avatar image
  • Members
  • 257 posts
  • OFFLINE
  •  
  • Local time:07:43 AM

Posted 14 October 2023 - 07:15 AM

Rufwoof,

What wifi card do you have?

Qualcomm Atheros QCA9565/AR9565

 

Just set up a desktop system booting Fatdog, with qemu installed (and Nvidia drivers) 8GB with SSD. fatdog sfs not ram loaded - remains on disk (SSD), but a lz4 compressed fd64.sfs (SSD/LZ4 combo is about as quick as ram of days-of-old). Built a OpenBSD boot into a vHDD and just installed firefox-esr into that. Booting fatdog then loading that OpenBSD vHDD qemu with sndiod (that I had to compile for fatdog) and vnc'ing into that from fatdog and firefox-esr runs really quickly, usably. Sound remains very clear, full screen videos at 1080p is OK. It's hard wired so internet access is fast. And in running vnc I can also vnc connect to that from my laptop when that's running fatdog (that supports that wifi card). So very responsive for the laptop as its just handing screens and using the desktops hard wired ethernet.

 

I've set up ssh keys so can ssh, scp and sshfs between the two. My startup files sets up a automatic sshfs mount of the OpenBSD Downloads folder so I can see/use that within fatdog rox-filer.

 

I haven't used firefox-esr for a while now and I do like the picture-in-picture disconnect option.

 

Posting this using that OpenBSD/firefox. As OpenBSD just has firefox installed, I F8 to exit OpenBSD full screen and in Fatdog ran sleep 5;mtpaint -s .... to grab a screenshot, saved that to my OpenBSD sshfs shared folder and then used OpenBSD firefox to upload that and include it here

 

snap.png

 

 

Fatdog (host) runs cool

 

snap2.png



#20 rufwoof

rufwoof

  •  Avatar image
  • Members
  • 257 posts
  • OFFLINE
  •  
  • Local time:07:43 AM

Posted 14 October 2023 - 08:01 AM

OpenBSD is so much easier/cleaner that linux. All documentation is of good quality available via 'man' pages and specific to the installed version. Installation is quick and mostly just pressing ENTER.  Upgrades are every six months and involve just running 'sysupgrade'. Patches between those involve running syspatch. Packages are via the pkg_add command, perhaps pkg_add firefox-esr libreoffice mtpaint jwm rox-filer galculator geany vlc .... etc. Its a full OS rather than a linux kernel and thousands of variations of distros. Sound for instance is via just sndio (not alsa, pulseaudio ... whatever variations), where you simply set AUDIODEVICE= ..... to point to where you want the daemon (sndiod) to deliver sound such as another IP address, and at that address you run the sndio client. Mostly the default configurations just work as-is. But if source codes aren't available you'll have to settle for the next general drivers available/written by OpenBSD, or maybe not even have some things work (such as my laptop's wifi card). Usually there are workarounds one way or another. I actually prefer using my phone as the wifi access (USB tether) when out and about, go to the bar to identify the Pubs wifi password and connect to that using your phone, then back at the table plug the phone into the laptops USB and ... your online (and charges the phone at the same time).

 

My Fatdog (linux) script to start/run that ...

#!/bin/sh

# Set local sound to listen using sndiod
sndiod -d -a on -f rsnd/0 -L- 2>/dev/null &

# qemu boot OpenBSD vHDD
qemu-system-x86_64 \
-k en-gb -usbdevice tablet -vnc :0 -smp 4 -boot d \
-machine type=pc,accel=kvm \
-net user,hostfwd=tcp:127.0.0.1:2345-:22 \
-net nic \
-cpu host -enable-kvm -m 4096 vHDD.img

sleep 2

# Connect to that using tigervnc
vncviewer localhost &

sleep 10

# sshfs so we can use rox to copy files to/from openbsd without having
# to use ssh or scp manually
if [ ! -d /root/OpenBSD ]; then
	mkdir /root/OpenBSD
fi
sshfs -p 2345 user@localhost:/home/user /root/OpenBSD

Where the vHDD.img with OpenBSD installed was created by downloading the OpenBSD install iso and running

 

qemu-img create vHDD.img 40G
qemu-system-x86_64 -enable-kvm -m 4096 -cdrom install73.iso vHDD.img

 

 



#21 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 35,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:07:43 AM

Posted 14 October 2023 - 08:21 AM

https://bsd-hardware.info/?id=pci:168c-0036-1028-020c fir your wifi cards

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#22 rufwoof

rufwoof

  •  Avatar image
  • Members
  • 257 posts
  • OFFLINE
  •  
  • Local time:07:43 AM

Posted 14 October 2023 - 01:18 PM

 

That confirms
 

 

OpenBSD We have not found anything related to this device in any OpenBSD versions up to 6.10-CURRENT.

 



#23 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 35,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:07:43 AM

Posted 14 October 2023 - 01:31 PM

Rufwoof,

It works per other reports.

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#24 rufwoof

rufwoof

  •  Avatar image
  • Members
  • 257 posts
  • OFFLINE
  •  
  • Local time:07:43 AM

Posted 14 October 2023 - 07:30 PM

Rufwoof,

It works per other reports.

OpenBSD 7.4 is released on Monday, I'll do a reinstall rather than a upgrade and give it a go then. Thanks.



#25 rufwoof

rufwoof

  •  Avatar image
  • Members
  • 257 posts
  • OFFLINE
  •  
  • Local time:07:43 AM

Posted 16 October 2023 - 05:45 PM

Spent my daily time allowance upgrading my desktop 'server' to OpenBSD 7.4 that was released today. Not that it takes long, around a 5 minute process (I did a full reinstall rather than upgrade).

 

After that and pkg_add firefox-esr x11vnc

then

Xephyr :1 -dpi 141 -screen 1366x768 &

DISPLAY=:1 cwm &

DISPLAY=:1 x11vnc -forever &

 

So I can connect to that using TigerVNC from my laptop

 

With a few additional commands (sndiod) sound can also be forwarded from firefox to the laptop

 

All that took perhaps 20 minutes, typical OpenBSD ... just works. Rest of the time I've been browsing around youtubes rather than updating the OpenBSD on my laptop. Laptop in effect a remote controller for the desktop system that in being hard-wired access web pages load quicker than if I accessed them via the laptop (wifi). So still have yet to check out whether my laptops wifi is supported by OpenBSD 7.4 (I'm vnc'ing into OpenBSD using Fatdog). Got distracted by Fatdogs BackSeatDriver and reading through the code at how it uses n2n (VPN) for remote vnc'ing. Nice for when you can't open a port on the firewall at either end, but in many cases you can such as a home firewall to allow vnc to be tunneled more directly through ssh.


Edited by rufwoof, 16 October 2023 - 05:47 PM.


#26 ananittarhib

ananittarhib

  •  Avatar image
  • Members
  • 17 posts
  • OFFLINE
  •  
  • Local time:01:43 PM

Posted 02 June 2024 - 09:32 PM

Dual booting, once a complex way to run Windows and Linux together, has evolved. Live CDs and user-friendly partitioning tools made it easier. Now, virtual machines offer a more convenient way to switch OSes without rebooting. However, dual booting remains a good choice for those who prioritize speed and pure compatibility over convenience.


Edited by Mike_Walsh, 04 June 2024 - 03:55 AM.
No need to 'quote' the entire article. Waste of bandwidth.......and this smells like AI (though I can't prove it!)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users