Jump to content

How to run "script" command to update to darwin 8.


  • Please log in to reply
10 replies to this topic

#1
shinshin

shinshin

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Hello!

first, i'm a newbie to linux commands and stuff so please be descriptive...

I've managed to install darwin v8.01 inside vmware v5.0
I've copied all the darwin v8.1 update files to the virtual hd.

Now, how do I run the "script" command?
when i type "script" and hit enter i get into bash and it says:
"script started, output file is typescript"
sh-2.05b#
....

should i wait now? is everything is Ok?

#2
blackentangled

blackentangled

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 339 posts
just type "sh script" and you're good to go...

#3
shinshin

shinshin

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
didn't work.
error:
"script: /usr/bin/script: cannot execute binary file"

?????????

#4
blackentangled

blackentangled

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 339 posts
darwin will normally boot in a read only mode. in order to modify files you have to boot darwin in single user mode "-s" then execute at the command prompt "/sbin/fsck -fy" then "/sbin/mount -uw /"

good luck!

#5
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
Beware the script maybe had an error

In the file I got the script has:

mv -v /usr/include/IOKit/kext.subproj /user/include/IOKit/kext

shoud be:

mv -v /usr/include/IOKit/kext.subproj /usr/include/IOKit/kext

#6
blackentangled

blackentangled

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 339 posts
@macgirl

so which file should we get? a lot wouldn't really know as long as it is the script file. where did you get the file with the error?

#7
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
I get my file from the guide @ http://grabberslashe...-ip.com/macosx/

I don't know if there is a place with a correct script, I found the error comparing the instructions from the Daisuke guide @ http://grabberslashe...-ip.com/macosx/

#8
glukin

glukin

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
This script doent work for me :)
The system doesnt boot any more.
What am I doing wrong?
Another thing will be that I have system with d915g and sata hdd but after I install darwin there is no device to mount as cdrom...
Strange. The cdrom is nomal Ide.

#9
Daxziz

Daxziz

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts

This script doent work for me :)
The system doesnt boot any more.
What am I doing wrong?
Another thing will be that I have system with d915g and sata hdd but after I install darwin there is no device to mount as cdrom...
Strange. The cdrom is nomal Ide.


Did you get any errors during the script ? I personally got 1 where it told me it wasn't able to compile the new mach kernel. That would have lead to the system not booting up because it renames the old mach_kernel to mach_kernel.old and if it doesn't transfer the new compiled kernel to / the system won't boot anymore. Try reinstall Darwin 8.0.1 and execute the script afterwards... notice any errors and mke sure that your kernel is in place after. You can always check the system version by typing uname -r.

The script is not failproof but it works great if everything is in order.


-Daxziz

#10
DeathChill

DeathChill

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 254 posts
You don't need to upgrade to 8.1 anymore as all the other files have been released which contain the 8.1 kernel and all that jazz.

#11
minimac

minimac

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

You don't need to upgrade to 8.1 anymore as all the other files have been released which contain the 8.1 kernel and all that jazz.


I'm confused DeathChill. What contains all the other files? Are you referring to the 8.1 source code?Pardon me if I'm a little slow.
I just finished installing Darwin 8.0.1 and succesfully upgraded to 8.1. I was just wondering if there was another way to install 8.1 directly in case the system does not boot after I make all the "other" changes necessary.

BTW: This is my first post. I have been lurking for a little bit reading all the posts.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy