Re: dd to unused partition (Hey! someone stole my foot-shooting gun!)
Oh, and the cd drive is not bootable. So, I want to boot the cd image from the hard drive, and use the cd drive for the install after it boots. I dont think you can just copy CD image to slice and make it boot :-( Hmm... Now that I think about it, maybe what I did before was to use the "boot.flp" floppy disk image. Does that make a difference? _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dd to unused partition (Hey! someone stole my foot-shooting gun!)
>dd if=iso of=/dev/ad0s1 >dd: /dev/ad0s1: Read-only filesystem According to http://makeashorterlink.com/?S37C2186B>[1] a workaround might be using dd if=/dev/foo of=/dev/ad0 oseek=63 Ah. Ok. That should have been obvious :oP What about those first few bytes, though? I think I am not getting what I need ... dd if=iso of=/dev/ad0s2 oseek=63 dd if=/dev/ad0s2 of=iso2 truncate -r iso iso2 diff iso iso2 (Binary files iso and iso2 differ) What I am doing is using a 4.11 system to copy a 5.4 boot iso to an unused partition, so that I can boot it and install 5.4. I know it seems roundabout, but it is a very old laptop with either floppy or cd (not both) and the pccard ethernet iface which is working fine under 4.11 is not working in the 5.4 installer -- so no network install. Oh, and the cd drive is not bootable. So, I want to boot the cd image from the hard drive, and use the cd drive for the install after it boots. Anyhow, I used the oseek=63 and copied the iso to ad0s2 ... but I can't boot it. boot: 0:ad(0,2,a)/boot/loader Invalid partition Of course, I am not really sure how to specify ad0s2 from the boot: prompt. Thanks for your help. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dd to unused partition (Hey! someone stole my foot-shooting gun!)
# Lee Harr: > dd if=iso of=/dev/ad0s1 > > but what I am getting now is ... > > dscheck(#ad/0x22): fixlabel: invalid magic > fixlabel: invalid magic > dd: /dev/ad0s1: Read-only filesystem This error isn't new, it just, well, doesn't happen very often: kern/subr_diskslice.c: | static char * | fixlabel(sname, sp, lp, writeflag) [...] | /* These errors "can't happen" so don't bother reporting details. */ | if (lp->d_magic != DISKMAGIC || lp->d_magic2 != DISKMAGIC) | return ("fixlabel: invalid magic"); Prior reports seem to indicate this fails if non-ufs slices somehow got themselves a disklabel. According to http://makeashorterlink.com/?S37C2186B>[1] a workaround might be using dd if=/dev/foo of=/dev/ad0 oseek=63 HTH, Mario ___ [1]: This is really http://groups.google.de/group/mailing.freebsd.questions/browse_frm/thread/46bc3662805a349c/146b0cdc6e294288?q=dscheck+fixlabel&rnum=3&hl=de#146b0cdc6e294288>. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dd to unused partition (Hey! someone stole my foot-shooting gun!)
>dd if=iso of=/dev/ad0s1 >dd: /dev/ad0s1: Read-only filesystem I just tried the same thing from the fixit floppy, and I get the same message about ad0s1 being a "Read-only filesystem" What am I missing here? Raised securelevel? Well... I am not sure why the securelevel would be raised by the installer and fixit floppy, but I cannot check what the level is (at least not the way I know how to check ...) # sysctl -a | grep secure sysctl: not found I guess I could customize fixit.flp to add sysctl but is it really likely that the installer raises the securelevel? _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dd to unused partition (Hey! someone stole my foot-shooting gun!)
"Lee Harr" <[EMAIL PROTECTED]> writes: > >dd if=iso of=/dev/ad0s1 > > >dd: /dev/ad0s1: Read-only filesystem > > >I guess I can boot from the install floppies and use the fixit > >floppy Ok. I will go that route, but now I am wondering > >why has my favorite foot-blaster been taken away? And... > >for future reference, how can I get around the block? > > > > > I just tried the same thing from the fixit floppy, and I get > the same message about ad0s1 being a "Read-only > filesystem" > > What am I missing here? Raised securelevel? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dd to unused partition (Hey! someone stole my foot-shooting gun!)
dd if=iso of=/dev/ad0s1 dd: /dev/ad0s1: Read-only filesystem I guess I can boot from the install floppies and use the fixit floppy Ok. I will go that route, but now I am wondering why has my favorite foot-blaster been taken away? And... for future reference, how can I get around the block? I just tried the same thing from the fixit floppy, and I get the same message about ad0s1 being a "Read-only filesystem" What am I missing here? _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dd to unused partition (Hey! someone stole my foot-shooting gun!)
I am sure a used to be able to do this ... What I want to do is copy an iso image to a disk partition so I can boot from it and use that to install. Something along the lines of dd if=iso of=/dev/ad0s1 but what I am getting now is ... dscheck(#ad/0x22): fixlabel: invalid magic fixlabel: invalid magic dd: /dev/ad0s1: Read-only filesystem The running system is installed on /dev/ad0s2 and s1 is not being used at all (no filesystems mounted or in use on s1) How can I get around this? I guess I can boot from the install floppies and use the fixit floppy Ok. I will go that route, but now I am wondering why has my favorite foot-blaster been taken away? And... for future reference, how can I get around the block? _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"