Welcome, Guest. Please login or register.

Author Topic: Device names (DH0:, CDH0:, etc.) help on A2000  (Read 3259 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline blakespotTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 880
  • Country: us
  • Thanked: 8 times
  • Gender: Male
  • Visit ByteCellar.com
    • Show only replies by blakespot
    • ByteCellar - The Vintage Computing Blog
Device names (DH0:, CDH0:, etc.) help on A2000
« on: June 13, 2013, 09:18:27 PM »
Hey there.

I have a 4GB CF card that came to me preformatted / partitioned with some Amiga stuff on it. It's part of a SCSI / IDE converter board kit.

These are the partitions:

CDH0: 2GB
CDH1: 999MB
CDH2: 1GB

So I copied my old physical disk (720MB) content to CDH1: after formatting it. I then removed that disk (wanted it out). So the boot volume I want to go forward with is on CDH1:.

Is this fine? Is it ok to have my Work or Data volume the larger CDH0: (lower #)? A lot of my boot scripts reference DH0: so I need to change them to reflect the new device names. I could rename the devices I guess, to make CDH1: DH0: I guess, but I kind of like the C prefix for card.

Is it easy to just make the boot called CDH0:, renaming the 2GB part CDH1: for my own pref?

Also - how do I set default booting when the system comes up? It's a 3.1 ROM A2000. I can select with double mouse buttons at boot, but how do I make default boot one of these volumes in particular?

Thanks.




bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Offline zipper

Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #1 on: June 13, 2013, 09:24:51 PM »
You can rename them whatever you want - but you need to edit all assigns to the new name. Change the boot priority with HDToolbox - the highest bootable partition will boot; keep the priority under 5 (floppy).
 

Offline blakespotTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 880
  • Country: us
  • Thanked: 8 times
  • Gender: Male
  • Visit ByteCellar.com
    • Show only replies by blakespot
    • ByteCellar - The Vintage Computing Blog
Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #2 on: June 13, 2013, 09:37:11 PM »
Quote from: zipper;737766
You can rename them whatever you want - but you need to edit all assigns to the new name. Change the boot priority with HDToolbox - the highest bootable partition will boot; keep the priority under 5 (floppy).


Thanks, edit the device name how (from cli)?




bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Offline zipper

Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #3 on: June 13, 2013, 10:10:25 PM »
HDToolbox
 

Offline blakespotTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 880
  • Country: us
  • Thanked: 8 times
  • Gender: Male
  • Visit ByteCellar.com
    • Show only replies by blakespot
    • ByteCellar - The Vintage Computing Blog
Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #4 on: June 13, 2013, 10:18:28 PM »
HD Toolbox can't even see any of the disks on the system.

Am using a Phase 5 A2060's SCSI controller. I installed the latest Phase 5 SCSI-Tools and those tools seem not to let me rename a partition / volume. I can kill, create though.

Am I out of luck? Thanks.




bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show only replies by nyteschayde
    • http://www.nyteshade.com
Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #5 on: June 13, 2013, 10:39:16 PM »
As far as your scripts go, I've found it very helpful to make an assign early on for sys: to whatever partition you want then have everything relative to sys:. This decreases the number of places that you need to change if you ever do this again (or set up multi-os boot configs, etc...)
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline blakespotTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 880
  • Country: us
  • Thanked: 8 times
  • Gender: Male
  • Visit ByteCellar.com
    • Show only replies by blakespot
    • ByteCellar - The Vintage Computing Blog
Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #6 on: June 13, 2013, 10:45:09 PM »
Quote from: nyteschayde;737774
As far as your scripts go, I've found it very helpful to make an assign early on for sys: to whatever partition you want then have everything relative to sys:. This decreases the number of places that you need to change if you ever do this again (or set up multi-os boot configs, etc...)


I have something like that going, but not fully - need to get on that.

Still, I would like to rename the devices, and HD Toolbox sees nothing on the system. Hmm.




bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex
 

Offline Matt_H

Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #7 on: June 13, 2013, 11:25:17 PM »
There's a tooltype in HDToolbox that tells it which device to check. By default it's scsi.device, so change that to whatever the 2060's device is called (2060scsi.device, maybe?)
 

Offline paul1981

Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #8 on: June 13, 2013, 11:33:25 PM »
Quote from: matt_h;737790
there's a tooltype in hdtoolbox that tells it which device to check. By default it's scsi.device, so change that to whatever the 2060's device is called (2060scsi.device, maybe?)

You beat me to it whilst I was going to extreme efforts to show the chap a picture. :laughing:
[attach]2971[/attach]
« Last Edit: June 13, 2013, 11:41:47 PM by paul1981 »
 

Offline zipper

Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #9 on: June 14, 2013, 08:22:19 AM »
Quote from: Matt_H;737790
so change that to whatever the 2060's device is called (2060scsi.device, maybe?)


That's it.
 

Offline pVC

Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #10 on: June 14, 2013, 09:46:25 AM »
Quote from: blakespot;737765
These are the partitions:

CDH0: 2GB
CDH1: 999MB
CDH2: 1GB

So I copied my old physical disk (720MB) content to CDH1: after formatting it. I then removed that disk (wanted it out). So the boot volume I want to go forward with is on CDH1:.

Is this fine? Is it ok to have my Work or Data volume the larger CDH0: (lower #)? A lot of my boot scripts reference DH0: so I need to change them to reflect the new device names. I could rename the devices I guess, to make CDH1: DH0: I guess, but I kind of like the C prefix for card.

Is it easy to just make the boot called CDH0:, renaming the 2GB part CDH1: for my own pref?

One option is to keep those CDH0, CDH1 and CDH2, if you like them, but then add "Assign DH0: CDH1:" in your startup-sequence or user-startup (depending when you start pointing to that device on your own stuff, probably enough in user-startup).

For these kinds of situations it's good to make assigns and other configurations to SYS: rather than fixed partition names. Then you can copy system around more easily. SYS: points always to boot device.

I have also found useful to add for example Utils: assign and configure all programs to use that rather than fixed path again. Then it doesn't matter where or which disk the programs are located, until I have that assign set where ever I want it.
« Last Edit: June 14, 2013, 09:50:55 AM by pVC »
Daily MorphOS user and Amiga active.
 

Offline blakespotTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 880
  • Country: us
  • Thanked: 8 times
  • Gender: Male
  • Visit ByteCellar.com
    • Show only replies by blakespot
    • ByteCellar - The Vintage Computing Blog
Re: Device names (DH0:, CDH0:, etc.) help on A2000
« Reply #11 on: June 14, 2013, 03:50:06 PM »
Thanks, all.

Changing the tooltype to 2060scsi.device did it. I should'e thought of that.

I just went ahead and changed things to DH0: -> DH2:, terms I am used to. I have an assign to SYS: in my startup scripts, but not as early as it should be.

Actually, my startup scripts boot either WB1.3 or 3.1 on the same partition based on the ROM version - I have a switcher. Given that I am using the A2060 as the SCSI controller now, I can't really boot into 1.3 with that setup, I think, so I may just remove the extra script abstraction and keep to 3.1 always.

I do have an A1000 over on the other desk, so... :-)




bp
:: ByteCellar.com - The Vintage Computing Weblog
:: Amigas: 1000, 2000 '020, SAM440ep-Flex