[SM-Discuss] Re : Re : boot from usb key

Geoffroy GIRAUX geogiraux at yahoo.fr
Tue Feb 12 14:02:07 EST 2008


----- Message d'origine ----
De : Thomas Orgis <thomas-forum at orgis.org>
À : sm-discuss at lists.ibiblio.org
Envoyé le : Jeudi, 7 Février 2008, 8h57mn 29s
Objet : Re: [SM-Discuss] Re :  boot from usb key

Am 
Wed, 
6 
Feb 
2008 
19:45:38 
-0800
schrieb 
Eric 
Sandall 
<eric at sandall.us>: 

> 
Geoffroy:
> 
> 
# 
boot-from 
/dev/sda 
(I'm 
sure 
about 
the 
name 
of 
the 
usb 
device)
> 
>
> 
> 
# 
exit
> 
>
> 
> 
Attempting 
to 
boot 
from 
/dev/sda...

> 
> 
Unable 
to 
mount 
/dev/sda 
as 
iso9660, 
retrying 
with 
type 
auto

> 
I've 
never 
tried 
booting 
from 
a 
USB 
stick, 
but 
perhaps 
you 
need 
to 
set 
the 
> 
boot 
flag 
on 
the 
partition 
you're 
trying 
to 
boot 
from?

Hm... 
/dev/sda 
doesn't 
look 
like 
a 
partition 
to 
me... 
looks 
more 
like
the 
dammed 
whole 
device 
(i.e. 
superfloppy 
format) 
;-)
I 
once 
booted 
from 
an 
USB 
stick... 
or 
twice.
What 
easily 
works 
is 
copying 
a 
floppy 
image 
straight 
to 
the 
thing 
and
boot 
it 
like 
a 
floppy 
- 
with 
the 
same 
mere 
1.44M 
space.
Also 
had 
SLAX 
up 
a 
while 
ago... 
before 
I 
decided 
that 
it's 
easier 
to
get 
Linux 
onto 
my 
laptop 
via 
network 
boot;-)

But 
since 
you 
got 
the 
kernel 
up 
already, 
the 
hard 
part 
should 
be
over... 
so, 
do 
you 
have 
partitions 
on 
/dev/sda 
and 
may 
your 
root 
device
be 
actually 
/dev/sda1?

Hi,

Thanks for your help. I've been one step further... but nothing else !

My root device is actually /dev/sda2. So I downloaded the latest ISO and tried to boot from my usb key (3 partitions) without any other drives. And here's the results :
bash-3.2# boot-from /dev/sda2
bash-3.2# exit
Attempting to boot from /dev/sda2
[timing] Unable to identify CD ROM format
mount: wrong fs type, bad option bad superblock on /dev/sda2, missing codepage or other error
Unable to mount /dev/sda2 as iso9660, retrying with type auto
[timing] EXT2-fs warning : mounting unchecked fs, running e2fsck is recommended
mount: /dev/sda2 already mounted or /mnt/cdrom/mnt/cdrom busy
Setting up writeable /dev for the udevness
/mnt/cdrom/bin/cp cannot stat 'dev' : No such file or directory
Setting up /tmp for install
/mnt/cdrom/bin/cp cannot stat 'tmp' : No such file or directory

[...]
umount: /mnt/cdrom/mnt/cdrom : not mounted
Running /sbin/init
mount: devfs has wrong device number or fs type devfs not supported
/sbin/init: line 149: dev/console: No such file or directory
Trning to find the SMGL CD automatically

[...]
bash-3.2#

AFAIK, the mount doesn't seem to go smoothly. When I type mount at the bash prompt, I get :
rootfs on / type roots
/dev/root on /initrd type ext2
/dev/sda2 on / type ext2
tmpfs on /dev type tmpfs
tmpfs on /tmp type tmpfs
tmpfs on /etc type tmpfs
tmpfs on /root type tmpfs
tmpfs on /var/log type tmpfs

tmpfs on /var/lib/nfs type tmpfs

proc on /proc type proc
bash-3.2#


I don't have any specific message in dmesg. To me, the problem is linked to the line with the "busy" part. But I don't know what to check or to do !

Please help

GeO



      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr


More information about the SM-Discuss mailing list