liveusb grub2 linux

Ask your support questions in here

Moderator: Moderator Team

Post Reply
benqpolska
Posts: 10
Joined: Sun Mar 27, 2016 4:00 am

liveusb grub2 linux

Post by benqpolska »

@vgal
https://sourceforge.net/projects/reacto ... p/download
liveiso doesnt contain "/loader/freeldr.sys" which is required to boot from linux ( following https://reactos.org/wiki/LiveUSB ) so instead i had to use https://sourceforge.net/projects/reacto ... p/download

my entry is:

Code: Select all

 cat /etc/grub.d/40_custom 
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "ReactOS" {
    set root=(hd0,msdos1)
    chainloader +1
    parttool (hd0,msdos1) boot+
    multiboot /loader/freeldr.sys
usb is prepared for FAT

Code: Select all

Dysk /dev/sda: 29,26 GiB, bajtów: 31406948352, sektorów: 61341696
Disk model: Cruzer Blade    
Jednostki: sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Typ etykiety dysku: dos
Identyfikator dysku: 0x26b0dccf

Urządzenie Rozruch Początek Koniec Sektory Rozmiar Id Typ
/dev/sda1  *              0 296959  296960    145M  b W95 FAT32

while trying to boot have "invalid EFI file path" under grub2 but ignoring that pressing any key and nothing happens -hard crash

question is what i should do else to try to boot it?
asus t101ha - transformer
oldman
Posts: 1179
Joined: Sun Dec 20, 2009 1:23 pm

Re: liveusb grub2 linux

Post by oldman »

1. Have you got a CD/DVD drive?
2. Are you only trying to run the livecd?

You could try booting from ramdisk, see this Layman's guide.

Be careful what do you. You could make your system un-bootable or corrupt your file system.

It is better to use a second computer that you can dedicate to ReactOS, that way, you do not lose data if something goes wrong.

So be warned.
Please keep the Windows classic 9x/2000 look and feel.
The layman's guides - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.
benqpolska
Posts: 10
Joined: Sun Mar 27, 2016 4:00 am

Re: liveusb grub2 linux

Post by benqpolska »

1. No
2. Yes, from Xubuntu, depending how it will run after loader stage can be installed pernamently since that PC is piece of crap.
oldman
Posts: 1179
Joined: Sun Dec 20, 2009 1:23 pm

Re: liveusb grub2 linux

Post by oldman »

As far as I am aware, you cannot install from the livecd, so you will have to install from a bootcd and ramdisk from USB.

I have Antix Linux installed on another partition, which I have to use Plop boot manager whenever I want to run it, but I installed the bootloader to the same partition as Antix.

I believe that the ReactOS installation will over-write your current MBR.

For how to use Freeloader (Ros boot loader) from Grub, you will need to search the forums and the wiki.
Please keep the Windows classic 9x/2000 look and feel.
The layman's guides - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.
benqpolska
Posts: 10
Joined: Sun Mar 27, 2016 4:00 am

Re: liveusb grub2 linux

Post by benqpolska »

guide from https://reactos.org/wiki/Installing_Rea ... B-RAM_boot still giving me

Code: Select all

lsd@lsd-T101HA:~$ sudo mkfs.vfat -v /dev/sda1
mkfs.fat 4.1 (2017-01-24)
Auto-selecting FAT32 for large filesystem
/dev/sda1 has 64 heads and 32 sectors per track,
hidden sectors 0x0800;
logical sector size is 512,
using 0xf8 media descriptor, with 61339648 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 32 sectors per cluster.
FAT size is 14976 sectors, and provides 1915927 clusters.
There are 32 reserved sectors.
Volume ID is 8334b0f4, no volume label.
still giving me

Code: Select all

Urządzenie Rozruch Początek   Koniec  Sektory Rozmiar Id Typ
/dev/sda1              2048 61341695 61339648   29,3G 83 Linux
whats wrong?
benqpolska
Posts: 10
Joined: Sun Mar 27, 2016 4:00 am

Re: liveusb grub2 linux

Post by benqpolska »

virtualmashine way error

Code: Select all

lsd@lsd-T101HA:~$ sudo VBoxManage internalcommands createrawvmdk -filename "~/VirtualBox VMs/reactos/disk.vmdk" -rawdisk /dev/mmcblk0
VBoxManage: error: VMDK: could not create new file '~/VirtualBox VMs/reactos/disk.vmdk'
VBoxManage: error: Error code VERR_FILE_NOT_FOUND at /build/virtualbox-9t4MJt/virtualbox-6.1.16-dfsg/src/VBox/Storage/VMDK.cpp(3435) in function int vmdkCreateRawImage(PVMDKIMAGE, PVDISKRAW, uint64_t)
VBoxManage: error: Cannot create the raw disk VMDK: VERR_FILE_NOT_FOUND
VBoxManage: error: The raw disk vmdk file was not created
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 6 guests