Mailing List Archive

extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4"
Hello list,

in a previous post I mentioned I had managed to make
USB-Stick with 2048
byte sectors bootable. In fact I wiped out my Linux
partitions
bootrecord. This was with an old version of extlinux
as still
distributed by openSuSE.

Interestingly enough the current version
syslinux-3.61-pre2, spares my
hard disk, but still seems to live under the
impression it is the USB
stick.

The setup is as follows:

Hard disk /dev/sda with 4 partitions
/dev/sda1 Windows XP
/dev/sda2 Windows XP
/dev/sda3 Linux Swap
/dev/sda4 openSuSE root

The USB stick is /dev/sdb with two partitions
/dev/sdb1
/dev/sdb2

issuing extlinux -i /media/disk ( the mount point for
/dev/sdb1
according to openSuSE ) results in:

./extlinux -i /media/disk
/media/disk is device /dev/sda4
./extlinux: path /media/disk doesn't match device
/dev/sda4

The extlinux.sys is in fact written to /dev/sdb1 with
the present
version, the old version does write it to /dev/sda4
and makes the grub
boot sector unusable.

Explanations / Theories welcome.

Casual







____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4" [ In reply to ]
Casual Programmer wrote:
>
> Explanations / Theories welcome.
>

Please post your /etc/mtab and /proc/mounts.

-hpa

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4" [ In reply to ]
On Mi, 2008-01-23 at 14:03 -0800, H. Peter Anvin
wrote:
> Casual Programmer wrote:
> >
> > Explanations / Theories welcome.
> >
>
> Please post your /etc/mtab and /proc/mounts.
>
> -hpa
>

cat /etc/mtab
/dev/sda4 / ext3 rw,acl,user_xattr 0 0
/proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
securityfs /sys/kernel/security securityfs rw 0 0
/dev/sdb2 /media/Newboot ext3 rw,nosuid,nodev 0 0
/dev/sdb1 /media/disk vfat
rw,nosuid,nodev,shortname=lower,flush,utf8,uid=1001 0
0
/dev/mmcblk0 /media/SD2-4GB_ vfat
ro,nosuid,nodev,shortname=lower,flush,utf8,uid=1001 0
0
/dev/sdc1 /media/WS6L-Extern1 ext3 rw,nosuid,nodev 0 0
/dev/sr0 /media/SU110Alp.001 iso9660
ro,nosuid,nodev,uid=1001 0 0

cat /proc/mounts
rootfs / rootfs rw 0 0
udev /dev tmpfs rw 0 0
/dev/sda4 / ext3
rw,user_xattr,acl,barrier=1,data=ordered 0 0
/proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
devpts /dev/pts devpts rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
securityfs /sys/kernel/security securityfs rw 0 0
/dev/sdb2 /media/Newboot ext3
rw,nosuid,nodev,barrier=1,data=ordered 0 0
/dev/sdb1 /media/disk vfat
rw,nosuid,nodev,uid=1001,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8
0 0
/dev/mmcblk0 /media/SD2-4GB_ vfat
ro,nosuid,nodev,uid=1001,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8
0 0
/dev/sdc1 /media/WS6L-Extern1 ext3
rw,nosuid,nodev,barrier=1,data=ordered 0 0
/dev/sr0 /media/SU110Alp.001 iso9660 ro,nosuid,nodev 0
0








____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4" [ In reply to ]
Casual Programmer wrote:
> On Mi, 2008-01-23 at 14:03 -0800, H. Peter Anvin
> wrote:
>> Casual Programmer wrote:
>>> Explanations / Theories welcome.
>>>
>> Please post your /etc/mtab and /proc/mounts.
>>
> /dev/sdb1 /media/disk vfat
> rw,nosuid,nodev,shortname=lower,flush,utf8,uid=1001 0
> 0

Your /dev/sdb1 isn't an ext2/ext3 filesystem...

-hpa

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4" [ In reply to ]
On Do, 2008-01-24 at 10:42 -0800, H. Peter Anvin
wrote:
> Casual Programmer wrote:
> > On Mi, 2008-01-23 at 14:03 -0800, H. Peter Anvin
> > wrote:
> >> Casual Programmer wrote:
> >>> Explanations / Theories welcome.
> >>>
> >> Please post your /etc/mtab and /proc/mounts.
> >>
> > /dev/sdb1 /media/disk vfat
> >
rw,nosuid,nodev,shortname=lower,flush,utf8,uid=1001 0
> > 0
>
> Your /dev/sdb1 isn't an ext2/ext3 filesystem...
>
> -hpa
>
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX@zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list
traffic.
>
>

True, but that's no reason to use /dev/sda4 instead,
or am I mistaken ?

Casual



____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4" [ In reply to ]
Casual Programmer wrote:
>
> True, but that's no reason to use /dev/sda4 instead,
> or am I mistaken ?
>

It's certainly going to confuse extlinux, and that's why you get an
error message. And no, it really should print out a better error.

-hpa

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4" [ In reply to ]
H. Peter Anvin wrote:
> Casual Programmer wrote:
>> True, but that's no reason to use /dev/sda4 instead,
>> or am I mistaken ?
>>
>
> It's certainly going to confuse extlinux, and that's why you get an
> error message. And no, it really should print out a better error.
>

Some more background on this... this is a serious bug in earlier
versions of extlinux which has since been fixed, although the error
message is somewhat suboptimal (I just checked in a better error message
and am pushing int out as 3.61-pre5).

-hpa

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4" [ In reply to ]
Does syslinux version 3.31-78 still contain the Bug ?
If so, I'd like to
notify the people at openSuSE so they can update to
the most recent
version.

As you can see at
https://bugzilla.novell.com/show_bug.cgi?id=354939 I
already asked them to update, then not aware of the
mentioned Bug.

Currently available is
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/syslinux-3.31-78.i586.rpm

Casual


On Do, 2008-01-24 at 14:41 -0800, H. Peter Anvin
wrote:
> H. Peter Anvin wrote:
> > Casual Programmer wrote:
> >> True, but that's no reason to use /dev/sda4
instead,
> >> or am I mistaken ?
> >>
> >
> > It's certainly going to confuse extlinux, and
that's why you get an
> > error message. And no, it really should print out
a better error.
> >
>
> Some more background on this... this is a serious
bug in earlier
> versions of extlinux which has since been fixed,
although the error
> message is somewhat suboptimal (I just checked in a
better error message
> and am pushing int out as 3.61-pre5).
>
> -hpa
>



____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4" [ In reply to ]
Casual Programmer wrote:
> Does syslinux version 3.31-78 still contain the Bug ?
> If so, I'd like to
> notify the people at openSuSE so they can update to
> the most recent
> version.
>
> As you can see at
> https://bugzilla.novell.com/show_bug.cgi?id=354939 I
> already asked them to update, then not aware of the
> mentioned Bug.
>
> Currently available is
> http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/syslinux-3.31-78.i586.rpm
>

I'm pretty sure it is there.

-hpa

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.