Thanks for your reply!


--- Leonard den Ottolander <[EMAIL PROTECTED]> wrote:
>               Hi David,
> 
> > I don't know why I'm getting the "WARNING: bad format on line 11 of
> > /etc/fstab" during booting. The /etc/fstab is ten lines long, and
> > I opened it in emacs while in X to confirm that there is no blank
> > line at the top of the file.
> 
>  Maybe there is a (n invisible) control character on one of the
> lines. View in 
> a hexeditor, fe midnight commander (F3 view, F4 hex, (F2 edit)). Or
> just 
> recreate the file from scratch.

I decided to try moving the /solaris line to another position in
/etc/fstab to see if that would have an effect on the warning about it,
so I swapped the 10th and 7th lines in /etc/fstab. It now looks like:

/dev/sda2            /                       ext2    defaults        1
1
/dev/sda1            /C:                     vfat    defaults        0
0
/dev/cdrom           /mnt/cdrom              iso9660 noauto,owner,ro 0
0
/dev/sdc1            /syquest                vfat    defaults        0
0
/dev/sda5            /usr                    ext2    defaults        1
2
/dev/fd0             /mnt/floppy             auto    noauto,owner    0
0
/dev/sdb1            /solaris                ufs     ufstype=sunx86  0
0
none                 /proc                   proc    defaults        0
0
none                 /dev/pts                devpts  gid=5,mode=620  0
0
/dev/sda6            swap                    swap    defaults        0
0

I don't know why, but the warning about /etc/fstab stopped after that.


> > "Feb 18 03:12:52 localhost kernel: ufs_read_super: bad magic
> number"
> > during boot.
> 
>  The filesystem you are trying to mount is a swap file, with the
> magic number 
> 0x82:
> 
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/sdb1   *         1      1018   4164120   82  Linux swap
> 
>  So you either never set up a solaris partition on /dev/sdb1, or you
> have 
> overwritten it (or at least the filesystem identifier in the
> partition table) 
> with a linux swap file. If you didn't format this swap partition you
> might try 
> to just toggle the filesystem identifier (man fdisk) to the correct
> one for 
> the Solaris x86 filesystem. I don't know the identifier number for
> this 
> filesystem.
> 
> 
                                        
The solaris partition entry has the same type, 82, as linux swap
partition. So the "magic number" is the same as the partition type! Now
I understand the boot message. I should have put two and two together.
But mounting, either during booting or manually after booting,
still fails in the same way:

[root@localhost /root]# mount -t ufs -o ufstype=sunx86 /dev/sdb1
/solaris
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
         or too many mounted file systems

As far as I can tell, I've followed http://www.xslt.de/sol-howto.html
but maybe I'm missing something.

David

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to