You are not logged in.
Agreed, awesome work everyone!
Offline
GOOD NEWS EVERYONE!
I have managed to get the toolchain completely cross compiled. That means we can start natively compiling soon.
Woah, well done
Near one month to go from idea to bootable system with toolchain
Offline
This is surprisingly exciting!
You may not see it but I'm sure many people are following your progress.
Offline
I haven't read especially much about hurd, but it's definitely cool that you got this working!
Last edited by hatten (2010-02-02 17:46:29)
Offline
Big hug!!!
Offline
I'd also like to help. Is the Install page up to date?
Offline
I'd also like to help. Is the Install page up to date?
*checks*
Nope, but it should still work for the latest tarball. However, Allan has yet to put the new and wonderful scripts online (I'll make any necessary changes to the installing page then), so if I were you I'd wait for that.
Offline
Giselher wrote:I'd also like to help. Is the Install page up to date?
*checks*
Nope, but it should still work for the latest tarball. However, Allan has yet to put the new and wonderful scripts online (I'll make any necessary changes to the installing page then), so if I were you I'd wait for that.
Okey, I will wait for your changes.
EDIT: Couldn't wait . It is compiling now and i hope it will work. Is there a way to do this with Virtualbox instead of Qemu?
Last edited by Giselher (2010-02-02 19:11:31)
Offline
It took me 20 minutes to enter the commands in grub, because i am not used to the english keyboard layout, to only get an hurd panic
It should be possible to change the menu.lst outside of hurd, shouldn't it?
Last edited by Giselher (2010-02-02 20:45:20)
Offline
You entered the command line for /hurd/ext2fs.static wrong, it's normal, not curly, brackets around the "task-create" and "task-resume" at the end of the command line:
module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
Also, the /lib/ld.so.1 line, too, that has normal brackets:
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)
If you install GRUB to the Hurd partition using the GRUB command line, you can mount it and edit the menu.lst file by hand, then you don't need to do all of this typing every time.
Last edited by Barrucadu (2010-02-02 20:50:06)
Offline
You entered the command line for /hurd/ext2fs.static wrong, it's normal, not curly, brackets around the "task-create" and "task-resume" at the end of the command line:
module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
Also, the /lib/ld.so.1 line, too, that has normal brackets:
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)
If you install GRUB to the Hurd partition using the GRUB command line, you can mount it and edit the menu.lst file by hand, then you don't need to do all of this typing every time.
Thank you it works now without typing every time. I could rewrite the ./scripts/grub file for an easier grub installation, because the files are in /lib/grup/i386-pc which should be in /boot/grub. Also a menu.lst has to be handwritten and placed in /boot/grub.
menu.lst
timeout 5
default 0
color light-blue/black light-cyan/blue
# (0) Arch Hurd
title Arch Hurd
root (hd0,0)
kernel /boot/gnumach
module (hd0,0)/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
module (hd0,0)/lib/ld.so.1 /hurd/exec $(exec-task=task-create)
qemu -boot a -fda grub.img -hda hurd.img -net nic,vlan=1 -net user,vlan=1
In the grub command line
root (hd0,0)
setup (hd0)
After that this should work
qemu -hda hurd.img -net nic,vlan=1 -net user,vlan=1
EDIT: One more problem
with this i get a kernel panic (panic: Debugger invoked, but there isn't one)
kernel /boot/gnumach
but with this it says it doesn't exists. Maybe this has to be renamed?
kernel /boot/gnumach root=device:hd2s1 -s
Last edited by Giselher (2010-02-02 22:03:11)
Offline
EDIT:[/b] One more problem
with this i get a kernel panic (panic: Debugger invoked, but there isn't one)kernel /boot/gnumach
but with this it says it doesn't exists. Maybe this has to be renamed?
kernel /boot/gnumach root=device:hd2s1 -s
It should be root=device:hd0s1 (assuming it's the first partition on the first disk). Disk numbering starts from 0, and partition numbering from 1.
Last edited by Barrucadu (2010-02-02 22:27:01)
Offline
Giselher wrote:EDIT:[/b] One more problem
with this i get a kernel panic (panic: Debugger invoked, but there isn't one)kernel /boot/gnumach
but with this it says it doesn't exists. Maybe this has to be renamed?
kernel /boot/gnumach root=device:hd2s1 -s
It should be root=hd0s1 (assuming it's the first partition on the first disk). Disk numbering starts from 0, and partition numbering from 1.
I tried it, but doesn't work either, hurd says Gratuitous error and with root=device:hd0s1 i get an error about disk size is to small
Last edited by Giselher (2010-02-02 22:20:31)
Offline
I tried it, but doesn't work either, hurd says Gratuitous error and with root=device:hd0s1 i get an error about disk size is to small
This one: http://allanmcrae.com/hurd/hurd-superblock.png ?
Sorry, not sure what to do. A few people have had that error but I haven't been able to reproduce it.
Offline
Giselher wrote:I tried it, but doesn't work either, hurd says Gratuitous error and with root=device:hd0s1 i get an error about disk size is to small
This one: http://allanmcrae.com/hurd/hurd-superblock.png ?
Sorry, not sure what to do. A few people have had that error but I haven't been able to reproduce it.
Yes this one.
But now i use:
kernel /boot/gnumach -s
and get this one
Offline
The answer to the size problem (given on one of the hurd mailing lists and untested...) is:
To make it simple, I'd advise running mkfs again, giving it 261048
(i.e. 1069254144/4096) as number of blocs.
Ah, that's why. The partitioning is limited to cylinders, i.e. it rounds
down your partition a bit, here I get/dev/loop0p1 1 130 1044193+ 83 Linux
which is not exactly like linux' loop device size
7 0 1048544 loop0So you indeed need to give mke2fs the proper size by hand.
Offline
The answer to the size problem (given on one of the hurd mailing lists and untested...) is:
To make it simple, I'd advise running mkfs again, giving it 261048
(i.e. 1069254144/4096) as number of blocs.Ah, that's why. The partitioning is limited to cylinders, i.e. it rounds
down your partition a bit, here I get/dev/loop0p1 1 130 1044193+ 83 Linux
which is not exactly like linux' loop device size
7 0 1048544 loop0So you indeed need to give mke2fs the proper size by hand.
It works now.
I didn't think that i would run hurd earlier on my computer than bsd
I will write a manual how to install grub on hurd.
edit: Filesystem is readonly
edit2: i forgot to fsysopts / --writeable
Last edited by Giselher (2010-02-03 08:52:09)
Offline
I will write a manual how to install grub on hurd.
Shall I set up a wiki on archhurd.org so soon?
Offline
Giselher wrote:I will write a manual how to install grub on hurd.
Shall I set up a wiki on archhurd.org so soon?
Writing some manuals are to only thing i can do now.
I have to read how hurd works and what translators are and so on.
EDIT: Is there something like a rc.local file on hurd or how do we make an rc.local file?
Last edited by Giselher (2010-02-03 09:27:04)
Offline
Is there something like a rc.local file on hurd or how do we make an rc.local file?
Not really, but that is something we deal with later on... we have much to do before then.
Offline
So what can i do to help?
EDIT: I am testing a few things but every time it says "No such file or directory"
EDIT2: I am trying to get SysVinit running but it says /sbin/init doesn't exists also /sbin/reboot halt poweroff shutdown
EDIT3: I solved the problem. I forgot to enter i568-gnu-pc
EDIT4: Doesn't work either. I guess i have to wait for the native compiler . But i found a few things out about the boot process.
/hurd/init
|
––> /hurd/auth
|
––> /hurd/proc
|
––> /libexec/runsystem
|
––> /libexec/rc
| |
| ––> /sbin/syslogd
| |
| ––> /sbin/inetd
|
––> /libexec/runttys <- (/etc/ttys)
I hope this will help you.
Last edited by Giselher (2010-02-03 16:32:24)
Offline
So, Allan, feel like sharing the latest version of your wonderful cross-hurd scripts with us?
Offline
Hello everybody. I found ArchHurd today (I use ArchLinux). I´m a beginner in the programming world, but I´d help in everything I can. Seems great idea make real a GNU System with a Hurd kernel, specially if it´s in Arch way .
Well, I´ll try to boot ArchHurd this night .
(Sorry about my english)
Offline
Hello everybody. I found ArchHurd today (I use ArchLinux). I´m a beginner in the programming world, but I´d help in everything I can. Seems great idea make real a GNU System with a Hurd kernel, specially if it´s in Arch way .
Well, I´ll try to boot ArchHurd this night .
(Sorry about my english)
The most problems are bash related.
You should google for a spanish bash tutorial.
Last edited by Giselher (2010-02-03 19:45:51)
Offline
So, Allan, feel like sharing the latest version of your wonderful cross-hurd scripts with us?
Soon. At the moment, it is successful at building everything (+1) but does not fully boot (-1). there must be something I am missing. I am going to do one more rebuild today and the will post whatever I have.
Offline