booting porteus from hard drive

Post here if you are a new Porteus member and you're looking for some help.
User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#1 by dreadbird » 08 Dec 2024, 11:22

having problems booting into proteus from hard drive install. I get to a grub command line and dont know what to do.

problem is it booted in fine the first time to the gnome desktop. do I have to install a grub boot loader somehow?

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

booting porteus from hard drive

Post#2 by Ed_P » 08 Dec 2024, 16:15

Hi dreadbird, welcome to Porteus.
dreadbird wrote:
08 Dec 2024, 11:22
I get to a grub command line and dont know what to do.
Can you post a picture, or text, of what the grub command line looks like? And what did you do to get the machine to boot?

Is there another OS on the hard drive? Is the computer UEFI based?

Did you follow the instructions in the /boot/docs/install.txt file or the /USB_INSTRUCTIONS.txt file?

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#3 by dreadbird » 09 Dec 2024, 00:27

I redid it with fat32 and am able to boot and use the os now. Shows up as bootable drive in bios.

What I wanted to do was install it with ext4 but it won’t show up as bootable. Even with installing boot loader with install and running the .exe.

I have a Ubuntu installed as ext4 with its own boot loader which has its boot loader on the same drive as windows. Ubuntu is on a seperate drive with ext4. Currently in Ubuntu trying to find a way to add Porteus to that bootloader.

/dev/sda3 fat32 porteus works boots when driver selected bios
/dev/sda2 ext4 ubuntu install
/dev/sdb3 ext4 i installed porteus here. uefi doesnt detect ext4.
/dev/nvme0n1p1 windows 11

I booted into ubuntu and typed sudo os-prober
windows uefi boot manager
so its not finding the porteus install

thats all it lists. what im trying to do is add /dev/sdb3 to the grub menu when ubuntu is selected


long story short not sure how to boot porteus installed as ext4

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#4 by dreadbird » 09 Dec 2024, 03:06

I made a usb drive formatted with ext4 and installed porteus. however when I boot it says cannot makes changes a windows filesystem has been detected in /porteus/ how is this possible? I thought if it was on ext4 it would save changes. anyone insight or help for this would be appreciated

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#5 by dreadbird » 09 Dec 2024, 04:32

ok so ext4 usb install of porteus with bootloader wont boot. is it because of windows 11 in gpt mode?

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

booting porteus from hard drive

Post#6 by Ed_P » 09 Dec 2024, 05:54

UEFI systems require the boot drive to be FAT32. For Porteus that means the /EFI and /boot folders must be on a FAT32 drive. If you want the rest of the system on a ext4 drive you partiton the drive with 2 partitions, 1 FAT32, 1 EXT4 and you copy the /porteus folder to the ext4 drive and tweak the /boot/syslinux/porteus.cfg's APPEND statements to point porteus to the ext drive with I believe the from= cheatcode.

This approach would work with the /EFI & /boot folders on your sda3 drive and the /porteus folder on your sdb3 drive.

I don't use multi-partitioned USB drives so I may be wrong with the from= cheatcode. Read the /USB_INSTALLATION.txt for more specific info.

Added in 1 minute 51 seconds:
What's the folder layout of your Windows EFI partition?

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#7 by dreadbird » 09 Dec 2024, 06:43

my god thank you. i had no idea what i was doing. ya i figure as much my windows is in gpt. there is a program called easyre but its a paid software to convert windows 11 to mbr.

ill try fat32 and another partition and do what you said. sure it will work. I downloaded firefox .xyz i dont even know how to install that lol. try it out

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#8 by dreadbird » 09 Dec 2024, 09:45

ok so I have it running on my harddrive and this is way faster than ubuntu. its a really nice work environment. the reason I went for porteus is I found this streskit iso with ycruncher, prime95 and gsat on it. Its a great way to test your system memory as linux only uses like 1gb of ram. You also cant corrupt your main os when overclocking your ram as well.

So I will boot into porteus run gsat and ycruncher for a couple hours first. before entering windows to run karhu ramtest or tm5.

Im fairly new to linux so I have a question about saving what changes I make.

I compiled and installed a command as I dont see a module for it. will the command work the next time I run porteus when I save my changes?

rych
Warlord
Warlord
Posts: 787
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

booting porteus from hard drive

Post#9 by rych » 09 Dec 2024, 10:28

dreadbird, great it's working for you after all! I'm also on a similar setup, like this: [HOWTO] Multiboot Windows and frugal Porteus/X I have Windows, Porteus and PorteuX on the same hard drive. I also found that even for a hard-drive installation, Porteus was probably still the best choice for me...
dreadbird wrote:
09 Dec 2024, 09:45
I compiled and installed a command as I don't see a module for it. will the command work the next time I run porteus when I save my changes?
Yes, your App will live in /changes then.

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#10 by dreadbird » 09 Dec 2024, 12:21

Ya talk about a great idea. I cant believe ive never heard of this. not only is it linux and but its like a new install of an os everytime. really liking the text environment as opposed to win11.

I am using save session as that seems to save everything nicely. I have gsat installed so far so next will be ycruncher and prime95.

https://github.com/valleyofdoom/StresKit

this is how I found out about this. This guy made a nice boot iso for stress testing pcs. uses porteus and goes straight to command prompt on boot.

Its fairly user friendly I like the idea of modules keeps it pretty clean. overall impressed.

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

booting porteus from hard drive

Post#11 by Ed_P » 09 Dec 2024, 21:19

dreadbird wrote:
09 Dec 2024, 12:21
This guy made a nice boot iso for stress testing pcs. uses porteus and goes straight to command prompt on boot.
Please tell that guy he has his link to www.Porteus.org wrong. http not https. The forum is https but not the base url. :crazy:

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#12 by dreadbird » 10 Dec 2024, 05:40

just noticed that. i can try to notify.

im just learning all this and have to nearly setup. im not to familiar with linux is there a graphical interface to download modules? i know you can download stackware 15 and convert it to xzm. obviously you only want to get official modules. just looking for an easy way to use a gui

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#13 by dreadbird » 10 Dec 2024, 09:40

so I installed l lm_sensors module and installed it. then I detected the ram temperatures probes.

I ran :

modprobe jc42
sensors-detect --auto

it installed drivers into sys/bus/i2c/devices/ made four folders

sensors when run shows my dimm temperatures.


the problem im having is these folders are links and I cant back them up so when I restart I have to run the detect again. is there anyway to back this up?

I put

modprobe jc42
sensors-detect --auto

into /etc/rc.d/rc.local so it runs on startup for now

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

booting porteus from hard drive

Post#14 by Ed_P » 10 Dec 2024, 23:23

dreadbird wrote:
10 Dec 2024, 09:40
I put

modprobe jc42
sensors-detect --auto

into /etc/rc.d/rc.local so it runs on startup for now
That's the solution.

Add your /etc/rc.d/rc.local file to the lm-sensors module :( or create a module of your /etc/rc.d/rc.local file and name it lm-sensors-4me.xzm. :D

User avatar
dreadbird
Samurai
Samurai
Posts: 182
Joined: 08 Dec 2024, 04:30
Distribution: porteus5

booting porteus from hard drive

Post#15 by dreadbird » 11 Dec 2024, 01:31

yeah I finalized everything now

found out about slackpkg slapt-get slapt-mod and getmod. way easier than using pckgs.org.

well worth the learning curve as I dont need to invest more time learning another distro.

my experience with im sensor and figuring out acpi values I learned this from someone

"ACPI is a complete design disaster in every way. But we're kind of stuck with it. If any Intel people are listening to this and you had anything to do with ACPI, shoot yourself now, before you reproduce."

thought that was hilarious so linux is obviously built for people who use computers not for mass market but thats changing as I can see from linux so far. great environment for coding or office work

Post Reply