* non-alpha-specific: minimal root disk
@ 1999-03-03 21:17 Konrad Podloucky
1999-03-04 1:22 ` Matthias Jim Knopf
0 siblings, 1 reply; 3+ messages in thread
From: Konrad Podloucky @ 1999-03-03 21:17 UTC (permalink / raw)
To: RedHat AXP List
[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]
I'm trying to make some emergency boot disks, but I fail to get the system
running from them.
The kernel boots OK (from MILO):
boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1
the kernel gets loaded and prompts for a ramdisk. I enter it and then receive
the following:
[...]
Freeing unused kernel memory (72k) //-> this still is the kernel
: Can't open
Afterwards I have to power-cycle (Sigh...)
I found out that /bin/ash, which is executed instead of /sbin/init prints the
"Can't open" message
('strings /bin/ash | grep open' shows it)
What am I missing?
Konrad
PS: I've appended a 'ls -lRF' of my ramdisk
______________________________________________________________________
Konrad Podloucky <konrad@calvin.tssc.univie.ac.at>
Vienna, Austria PGP-key available by request
Running LINUX on an Alpha
"Windows 9x: n. 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit
of competition."
--Cygnus CygWin (aka GNU/Win32) FAQ
[-- Attachment #2: ls --]
[-- Type: text/plain, Size: 7362 bytes --]
total 9
drwxrwxr-x 2 root root 1024 Feb 22 18:38 bin/
drwxrwxr-x 2 root root 1024 Feb 22 17:48 dev/
drwxrwxr-x 2 root root 1024 Feb 22 18:35 etc/
drwxrwxr-x 2 root root 1024 Feb 22 17:29 lib/
drwxrwxr-x 5 root root 1024 Feb 22 17:23 mnt/
drwxrwxr-x 2 root root 1024 Feb 21 18:22 proc/
drwxrwxr-x 2 root root 1024 Feb 22 18:32 sbin/
drwxrwxr-x 2 root root 1024 Feb 22 17:30 tmp/
drwxrwxr-x 2 root root 1024 Feb 22 17:35 usr/
bin:
total 456
-rwxr-xr-x 1 root root 109448 Feb 22 18:38 ash*
-rwxr-xr-x 1 root root 14496 Feb 21 18:03 cat*
-rwxr-xr-x 1 root root 36264 Feb 21 18:03 cp*
-rwxr-xr-x 1 root root 21848 Feb 21 18:03 dd*
-rwxr-xr-x 1 root root 99088 Feb 21 18:03 grep*
-rwxr-xr-x 1 root root 13384 Feb 21 18:03 mkdir*
-rwxr-xr-x 1 root root 13800 Feb 21 18:03 mknod*
-rwsr-xr-x 1 root root 58296 Feb 21 18:03 mount*
-rwxr-xr-x 1 root root 21120 Feb 21 18:03 mv*
-rwxr-xr-x 1 root root 8696 Feb 21 18:03 pwd*
-rwxr-xr-x 1 root root 16120 Feb 21 18:03 rm*
lrwxrwxrwx 1 root root 4 Feb 22 17:29 sh -> bash
-rwxr-xr-x 1 root root 7000 Feb 21 18:03 sync*
-rwsr-xr-x 1 root root 29984 Feb 21 18:03 umount*
dev:
total 0
crw--w--w- 1 konrad root 4, 0 Feb 21 17:43 console
brw-rw-rw- 1 root floppy 2, 0 May 5 1998 fd0
brw-rw-r-- 1 root floppy 2, 12 May 5 1998 fd0D360
brw-rw-r-- 1 root floppy 2, 16 May 5 1998 fd0D720
brw-rw-rw- 1 root floppy 2, 28 May 5 1998 fd0H1440
brw-rw-r-- 1 root floppy 2, 12 May 5 1998 fd0H360
brw-rw-r-- 1 root floppy 2, 16 May 5 1998 fd0H720
brw-rw-r-- 1 root floppy 2, 4 May 5 1998 fd0d360
brw-rw-r-- 1 root floppy 2, 8 May 5 1998 fd0h1200
brw-rw-r-- 1 root floppy 2, 20 May 5 1998 fd0h360
brw-rw-r-- 1 root floppy 2, 24 May 5 1998 fd0h720
prw------- 1 root root 0 Feb 21 17:39 initctl|
crw-r----- 1 root kmem 1, 2 May 5 1998 kmem
crw-r----- 1 root kmem 1, 1 May 5 1998 mem
crw-rw-rw- 1 root root 1, 3 May 5 1998 null
brw-r----- 1 root disk 1, 1 May 5 1998 ram
brw-rw---- 1 root root 1, 0 May 5 1998 ram0
brw-rw---- 1 root disk 1, 1 May 5 1998 ram1
brw-rw---- 1 root disk 1, 11 May 5 1998 ram11
brw-rw---- 1 root disk 1, 12 May 5 1998 ram12
brw-rw---- 1 root disk 1, 13 May 5 1998 ram13
brw-rw---- 1 root disk 1, 14 May 5 1998 ram14
brw-rw---- 1 root disk 1, 15 May 5 1998 ram15
brw-rw---- 1 root disk 1, 19 May 5 1998 ram19
brw-rw---- 1 root disk 1, 2 May 5 1998 ram2
brw-rw---- 1 root disk 1, 3 May 5 1998 ram3
brw-rw---- 1 root disk 1, 4 May 5 1998 ram4
brw-rw---- 1 root disk 1, 5 May 5 1998 ram5
brw-rw---- 1 root disk 1, 6 May 5 1998 ram6
brw-rw---- 1 root disk 1, 7 May 5 1998 ram7
brw-rw---- 1 root disk 1, 8 May 5 1998 ram8
brw-rw---- 1 root disk 1, 9 May 5 1998 ram9
lrwxrwxrwx 1 root root 4 Feb 22 17:29 ramdisk -> ram0
brw-rw-rw- 1 root disk 11, 0 May 5 1998 scd0
brw-rw---- 1 root disk 11, 1 May 5 1998 scd1
brw-rw---- 1 root disk 11, 2 May 5 1998 scd2
brw-rw---- 1 root disk 11, 3 May 5 1998 scd3
brw-rw---- 1 root disk 11, 4 May 5 1998 scd4
brw-rw---- 1 root disk 11, 5 May 5 1998 scd5
brw-rw---- 1 root disk 11, 6 May 5 1998 scd6
brw-rw---- 1 root disk 11, 7 May 5 1998 scd7
brw-rw---- 1 root disk 8, 0 May 5 1998 sda
brw-rw---- 1 root disk 8, 1 May 5 1998 sda1
brw-rw---- 1 root disk 8, 10 May 5 1998 sda10
brw-rw---- 1 root disk 8, 11 May 5 1998 sda11
brw-rw---- 1 root disk 8, 12 May 5 1998 sda12
brw-rw---- 1 root disk 8, 13 May 5 1998 sda13
brw-rw---- 1 root disk 8, 14 May 5 1998 sda14
brw-rw---- 1 root disk 8, 15 May 5 1998 sda15
brw-rw---- 1 root disk 8, 2 May 5 1998 sda2
brw-rw---- 1 root disk 8, 3 May 5 1998 sda3
brw-rw---- 1 root disk 8, 4 May 5 1998 sda4
brw-rw---- 1 root disk 8, 5 May 5 1998 sda5
brw-rw---- 1 root disk 8, 6 May 5 1998 sda6
brw-rw---- 1 root disk 8, 7 May 5 1998 sda7
brw-rw---- 1 root disk 8, 8 May 5 1998 sda8
brw-rw---- 1 root disk 8, 9 May 5 1998 sda9
lrwxrwxrwx 1 root root 7 Feb 22 17:48 systty -> console
crw------- 1 root root 4, 0 May 5 1998 tty0
crw------- 1 root root 4, 1 Feb 21 17:43 tty1
crw------- 1 root root 4, 2 Feb 21 17:43 tty2
crw------- 1 root root 4, 3 Feb 21 17:43 tty3
crw------- 1 root root 4, 4 Feb 21 17:43 tty4
crw------- 1 root root 4, 5 Feb 21 17:43 tty5
crw------- 1 root root 4, 6 Feb 21 17:43 tty6
crw------- 1 root root 4, 7 May 5 1998 tty7
crw------- 1 root root 4, 8 May 5 1998 tty8
crw------- 1 root tty 4, 9 May 8 1998 tty9
crw-rw-rw- 1 root root 1, 5 May 5 1998 zero
etc:
total 431
-rw-rw-r-- 1 root root 78 Feb 22 17:38 fstab
-rw-rw-r-- 1 root root 13 Feb 21 18:30 group
-rw-rw-r-- 1 root root 23 Feb 21 18:26 passwd
-rw-r--r-- 1 root root 434898 Feb 21 18:27 termcap
lib:
total 1001
-rwxr-xr-x 1 root root 65952 Feb 21 18:37 ld-2.0.7.so*
lrwxrwxrwx 1 root root 11 Feb 22 17:29 ld-linux.so.2 -> ld-2.0.7
.so*
-rwxr-xr-x 1 root root 933608 Feb 21 18:36 libc-2.0.7.so*
lrwxrwxrwx 1 root root 13 Feb 22 17:29 libc.so.6.1 -> libc-2.0.7
.so*
lrwxrwxrwx 1 root root 19 Feb 22 17:29 libtermcap.so.2 -> libter
mcap.so.2.0.8*
-rwxr-xr-x 1 bin bin 17040 Feb 21 18:37 libtermcap.so.2.0.8*
mnt:
total 3
drwxrwxr-x 2 root root 1024 Feb 22 17:23 disk/
drwxrwxr-x 2 root root 1024 Feb 22 17:22 floppy/
drwxrwxr-x 2 root root 1024 Feb 22 17:23 ram/
mnt/disk:
total 0
mnt/floppy:
total 0
mnt/ram:
total 0
proc:
total 0
sbin:
total 948
-rwxr-xr-x 1 root root 9248 May 7 1998 dumpe2fs*
-rwxr-xr-x 1 root root 384688 May 7 1998 e2fsck*
-rwxr-xr-x 1 root root 99464 Jan 27 20:58 fdisk*
-rwxr-xr-x 1 root root 14856 May 7 1998 fsck*
-rwxr-xr-x 1 root root 384688 May 7 1998 fsck.ext2*
-rwxr-xr-x 1 root root 10816 May 7 1998 halt*
lrwxrwxrwx 1 root root 9 Feb 22 18:32 init -> ../bin/sh
-rwxr-xr-x 1 root root 6256 Jan 27 20:58 mkfs*
-rwxr-xr-x 1 root root 24536 May 7 1998 mkfs.ext2*
-rwx------ 1 root root 21296 May 7 1998 shutdown*
tmp:
total 0
usr:
total 0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: non-alpha-specific: minimal root disk
1999-03-03 21:17 non-alpha-specific: minimal root disk Konrad Podloucky
@ 1999-03-04 1:22 ` Matthias Jim Knopf
1999-03-04 19:01 ` Konrad Podloucky
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Jim Knopf @ 1999-03-04 1:22 UTC (permalink / raw)
To: Konrad Podloucky; +Cc: RedHat AXP List
Hi!
[...]
> I found out that /bin/ash, which is executed instead of /sbin/init prints the
> "Can't open" message
> ('strings /bin/ash | grep open' shows it)
ouh... Sure, that this message is ONLY in /bin/ash ?
> What am I missing?
> PS: I've appended a 'ls -lRF' of my ramdisk
Yes, that showed me, that you have a symbolic link
/bin/sh -> bash
... but `bash' doesn't exist anywhere!
I don't know if this is you problem, but it might be!
So far, Jim (Matthias Knopf)
---
No RISC, No Fun PGP-Key available
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: non-alpha-specific: minimal root disk
1999-03-04 1:22 ` Matthias Jim Knopf
@ 1999-03-04 19:01 ` Konrad Podloucky
0 siblings, 0 replies; 3+ messages in thread
From: Konrad Podloucky @ 1999-03-04 19:01 UTC (permalink / raw)
To: Matthias Jim Knopf; +Cc: RedHat AXP List
On 04-Mar-99 Matthias Jim Knopf wrote:
[...]
>> ('strings /bin/ash | grep open' shows it)
> ouh... Sure, that this message is ONLY in /bin/ash ?
>
Yep, pretty, sure. Cause I tried the same trick with the bash and then NO
message was printed (just hanged).
>> PS: I've appended a 'ls -lRF' of my ramdisk
> Yes, that showed me, that you have a symbolic link
>
> /bin/sh -> bash
>
> ... but `bash' doesn't exist anywhere!
> I don't know if this is you problem, but it might be!
>
OK, my fault. I tried it both with ash and bash and the directory listing was
from in-between, which means that I'm sure the link was OK.
konrad
______________________________________________________________________
Konrad Podloucky <konrad@pelimbert.tssc.univie.ac.at>
Vienna, Austria PGP-key available by request
Running LINUX on an Alpha
"Windows 9x: n. 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit
of competition."
--Cygnus CygWin (aka GNU/Win32) FAQ
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-03-04 19:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-03 21:17 non-alpha-specific: minimal root disk Konrad Podloucky
1999-03-04 1:22 ` Matthias Jim Knopf
1999-03-04 19:01 ` Konrad Podloucky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox