Porteus boot from hdd

Post here if you are a new Porteus member and you're looking for some help.
m1losh
White ninja
White ninja
Posts: 7
Joined: 17 Mar 2013, 18:39
Distribution: Ubuntu, Slackware, openSUSE
Location: Serbia

Porteus boot from hdd

Post#1 by m1losh » 17 Mar 2013, 18:47

Hi,
I'm trying to boot porteus from hdd and then install it to usb, because I dont have cd rom. I tried many ways to do this and everytime it gets to the screen when it says "sgn file not found" or something like that. My bootloader is grub2, and I tried to boot from hdd by making folder /porteus and put extracted iso files there. Then I add entry like this one:

Code: Select all

set root='(hd0,8)'
search --no-floppy --fs-uuid --set d9dccee0-8ed3-458d-ac20-fccb86821d05
linux /porteus/boot/syslinux/vmlinuz root=UUID=d9dccee0-8ed3-458d-ac20-fccb86821d05 
initrd /porteus/boot/syslinux/initrd.xz
I have also tried to boot via loopback but no luck.
What am I doing wrong? Do I need to specify sgn file with a cheatcode or something like that?

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Porteus boot from hdd

Post#2 by Hamza » 17 Mar 2013, 19:04

Please have a look on this topic.

http://forum.porteus.org/viewtopic.php?f=48&t=1790
NjVFQzY2Rg==

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Porteus boot from hdd

Post#3 by fanthom » 17 Mar 2013, 19:13

hi m1losh,

please add 'from=/porteus' cheatcode as porteus ISO is unpacked to this subfolder.
have a look on /boot/dosc/cheatcodes.txt for wider explanation.
Please add [Solved] to your thread title if the solution was found.

m1losh
White ninja
White ninja
Posts: 7
Joined: 17 Mar 2013, 18:39
Distribution: Ubuntu, Slackware, openSUSE
Location: Serbia

Re: Porteus boot from hdd

Post#4 by m1losh » 17 Mar 2013, 21:19

It still doesnt work. I have folder /porteus in which i have 2 folders from iso /boot and /porteus.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Porteus boot from hdd

Post#5 by fanthom » 17 Mar 2013, 22:17

please provide following information:
- filesystem on the partition where porteus is unpacked
- output of 'lspci -knn'

make sure that linuxrc is searching for correct sgn file (if you unpacked 32bit porteus then you should have /porteus/porteus/porteus-v2.0-i486.sgn and not /porteus/porteus/porteus-v2.0-x86_64.sgn)

try with this minimal grub config:

Code: Select all

set root=(hd0,8)
linux /porteus/boot/syslinux/vmlinuz from=/porteus
initrd /porteus/boot/syslinux/initrd.xz
btw: you dont need to boot porteus from hd to make usb bootable. just copy /boot and /porteus on the stick then run /boot/Porteus-installer-for-Linux.com (if you are on Linux) or /boot/Porteus-installer-for-Windows.exe (if you are on Windows)
Please add [Solved] to your thread title if the solution was found.

m1losh
White ninja
White ninja
Posts: 7
Joined: 17 Mar 2013, 18:39
Distribution: Ubuntu, Slackware, openSUSE
Location: Serbia

Re: Porteus boot from hdd

Post#6 by m1losh » 17 Mar 2013, 22:38

fanthom wrote:please provide following information:
- filesystem on the partition where porteus is unpacked
ext4
fanthom wrote:- output of 'lspci -knn'

Code: Select all

 00:00.0 Host bridge [0600]: NVIDIA Corporation nForce2 IGP2 [10de:01e0] (rev c1)
        Kernel driver in use: agpgart-nvidia
00:00.1 RAM memory [0500]: NVIDIA Corporation nForce2 Memory Controller 1 [10de:01eb] (rev c1)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
00:00.2 RAM memory [0500]: NVIDIA Corporation nForce2 Memory Controller 4 [10de:01ee] (rev c1)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
00:00.3 RAM memory [0500]: NVIDIA Corporation nForce2 Memory Controller 3 [10de:01ed] (rev c1)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
00:00.4 RAM memory [0500]: NVIDIA Corporation nForce2 Memory Controller 2 [10de:01ec] (rev c1)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
00:00.5 RAM memory [0500]: NVIDIA Corporation nForce2 Memory Controller 5 [10de:01ef] (rev c1)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
00:01.0 ISA bridge [0601]: NVIDIA Corporation nForce2 ISA Bridge [10de:0060] (rev a4)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
00:01.1 SMBus [0c05]: NVIDIA Corporation nForce2 SMBus (MCP) [10de:0064] (rev a2)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
        Kernel driver in use: nForce2_smbus
00:02.0 USB controller [0c03]: NVIDIA Corporation nForce2 USB Controller [10de:0067] (rev a4)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
        Kernel driver in use: ohci_hcd
00:02.1 USB controller [0c03]: NVIDIA Corporation nForce2 USB Controller [10de:0067] (rev a4)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
        Kernel driver in use: ohci_hcd
00:02.2 USB controller [0c03]: NVIDIA Corporation nForce2 USB Controller [10de:0068] (rev a4)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
        Kernel driver in use: ehci_hcd
00:04.0 Ethernet controller [0200]: NVIDIA Corporation nForce2 Ethernet Controller [10de:0066] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:570c]
        Kernel driver in use: forcedeth
00:08.0 PCI bridge [0604]: NVIDIA Corporation nForce2 External PCI Bridge [10de:006c] (rev a3)
00:09.0 IDE interface [0101]: NVIDIA Corporation nForce2 IDE [10de:0065] (rev a2)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:5700]
        Kernel driver in use: pata_amd
00:1e.0 PCI bridge [0604]: NVIDIA Corporation nForce2 AGP [10de:01e8] (rev c1)
01:09.0 Multimedia audio controller [0401]: Creative Labs CA0106 Soundblaster [1102:0007]
        Subsystem: Creative Labs SB0570 [SB Audigy SE] [1102:100a]
        Kernel driver in use: snd_ca0106
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI RV350 AS [Radeon 9550] [1002:4153]
        Subsystem: Micro-Star International Co., Ltd. RX9550SE-TD128 (MS-8932) [1462:932c]
        Kernel driver in use: radeon
02:00.1 Display controller [0380]: Advanced Micro Devices [AMD] nee ATI RV350 AS [Radeon 9550] (Secondary) [1002:4173]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:932d]
fanthom wrote:make sure that linuxrc is searching for correct sgn file (if you unpacked 32bit porteus then you should have /porteus/porteus/porteus-v2.0-i486.sgn and not /porteus/porteus/porteus-v2.0-x86_64.sgn)

try with this minimal grub config:

Code: Select all

set root=(hd0,8)
linux /porteus/boot/syslinux/vmlinuz from=/porteus
initrd /porteus/boot/syslinux/initrd.xz
It's correct sgn file, but it just cant find it.
Update: I managed to boot from hdd with this grub config.
fanthom wrote: btw: you dont need to boot porteus from hd to make usb bootable. just copy /boot and /porteus on the stick then run /boot/Porteus-installer-for-Linux.com (if you are on Linux) or /boot/Porteus-installer-for-Windows.exe (if you are on Windows)
When i booted it first time from usb, I saw an option to install it to a hard disk, so that's why i wanted to boot it from hard drive and then install on the usb. I thought it will install like an ordinary Linux OS. Guess I was wrong... Anyway, I apreciate your help. :)

Post Reply