Casual Programmer
2008-Jan-23 20:01 UTC
[syslinux] 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 204 bytes Desc: 3412282408-signature.asc URL: <http://www.zytor.com/pipermail/syslinux/attachments/20080123/3b538f91/attachment.sig>
H. Peter Anvin
2008-Jan-23 22:03 UTC
[syslinux] extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4"
Casual Programmer wrote:> > Explanations / Theories welcome. >Please post your /etc/mtab and /proc/mounts. -hpa
Casual Programmer
2008-Jan-24 08:49 UTC
[syslinux] extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4"
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 204 bytes Desc: 3412282408-signature.asc URL: <http://www.zytor.com/pipermail/syslinux/attachments/20080124/11434d11/attachment.sig>
Casual Programmer
2008-Jan-24 20:49 UTC
[syslinux] extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4"
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 at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing listtraffic.> >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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 204 bytes Desc: 3412282408-signature.asc URL: <http://www.zytor.com/pipermail/syslinux/attachments/20080124/526d823a/attachment.sig>
Casual Programmer
2008-Jan-25 08:31 UTC
[syslinux] extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4"
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/sda4instead,> >> or am I mistaken ? > >> > > > > It's certainly going to confuse extlinux, andthat's why you get an> > error message. And no, it really should print outa better error.> > > > Some more background on this... this is a seriousbug in earlier> versions of extlinux which has since been fixed,although the error> message is somewhat suboptimal (I just checked in abetter 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 204 bytes Desc: 3412282408-signature.asc URL: <http://www.zytor.com/pipermail/syslinux/attachments/20080125/5a850775/attachment.sig>