topic title: couple of questions
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#16
zpimp wrote:most annoying thing is i have to reboot each time to a working liveusb to modify the menu.lst
Legacy Grub usually provides a way for you to type in boot parameters at boot-time so you don't have to go through all that hassle just to try a new boot parameter.

BTW: bdev=sda1 will work just as well as bdev=/dev/sda1.
Posts: 73
zpimp
Joined: 20 Jan 2014
#17
i did that, im not sure but i think that the grub prompt behaves a little different than menu.lst
booted by entering parameters, and when updtaing menu.lst it didnt work, probably cause my files were 2 levels deep

anyway, i reinstalled, files 1 level deep
/antixbase/vmlinuz
/antixbase/initrd.gz

had to reinstall cause it says to run fsck and i didnt know how __{{emoticon}}__ it said drive was mounted
and it was annoying
tried dropping to single user, booting from usb, whatever, couldnt do it

it seems i couldnt make it boot 2 levels deep from menu.lst, i think it worked from grub prompt
is there a way to boot it when files are
/antixtest/antixbase/vmlinuz
/antixtest/antixbase/initrd.gz

so i installed aria2, small command line utility, remaster, make iso, with command from here

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepiscommunity.org/forum/viewtopic.php?f=40&t=35031&view=previous"
linktext was:"http://www.mepiscommunity.org/forum/vie ... w=previous"
====================================


but my iso image is over 100mb bigger 840mb vs 690mb original iso
i see it remembers my browser history
is there a way to keep only installed software
but no temporary files, settings, logs, or whatever makes the iso so big?
i dont mind manually cleaning

remastering on hdd is so much faster
thanks for all your support
Posts: 1,062
Dave
Joined: 20 Jan 2010
#18
As far as I know to make it boot 2 levels deep just change the bdir= parameter to :
Bdir=/antixtest/antixbase/
Posts: 73
zpimp
Joined: 20 Jan 2014
#19
i wanted to redo the frugal install
deleted partition and i couldnt do it again __{{emoticon}}__
it seems i cant install grub
if i go to control center - grub repair
root partition - >sda1
select where to install grub -> sda , master boot record of disk

i get:
architecture of the host system does not match the selected root partition.
to restore grub for sda1 you will need to run grub-repair from a cannot system.


can someone explain to me what is happening?
direct me to a detailed explanation of grub install

edit:

tried instructions from here

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.av8n.com/computer/htm/grub-reinstall.htm"
linktext was:"http://www.av8n.com/computer/htm/grub-reinstall.htm"
====================================


but i get this
root@antiX1:/home/demo# mkdir /x
root@antiX1:/home/demo# partition=/dev/sda1 ; drive=/dev/sda
root@antiX1:/home/demo# echo $partition
/dev/sda1
root@antiX1:/home/demo# grub-install --root-directory=/x $drive
grub-probe: error: /live/aufs is not a block device.

2nd edit:
managed to isntall grub to hdd by going into the grub prompt
root (hd0,0)
setup (hd0)

now i reformated and it doesent work, it says
grub> setup (hd0)
Checking if"/boot/grub/stage1" exists... no
Checking if"/grub/stage1" exists... no
Error 15: File not found

3rd edit:
i think i finally nailed it
first you have to generate the files needed for grub

Code: Select all

mkdir /x
mount /dev/sda1 /x
partition=/dev/sda1 drive=/dev/sda
grub-install --root-directory=/x $drive
this last command takes alot, and doesent really finish , after 10minutes, but the files are there
then you have to install grub to the mbr
type"grub" and wait again close to 10 minutes to load then

Code: Select all

root (hd0,0)
setup (hd0)
does anyone have any idea how to make these commands faster? some switches or something

4th edit:
i have identified the reason of the delay, it was probably the floppy controller and some stuff i disabled in bios
and now the grub and grub-install work instantly __{{emoticon}}__
i set it up again, in about 7 min , didnt rush