Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Alternative Operating Systems > command to list volumes...pdisk -l ?

command to list volumes...pdisk -l ?
Thread Tools
Senior User
Join Date: Sep 2000
Location: Noo Yawk
Status: Offline
Reply With Quote
Jan 9, 2002, 09:51 PM
 
Dear Penguins

I'm trying to find a terminal command in OSX 10.1.2 to list volumes

/dev/hda1
/dev/hda2
etc

and their corresponding sizes and formats so i can be sure which numbers my Linux A/UX root and swap partitions are on.
I tried
pdisk /dev/hda -l and
pdisk /dev/hda -dump

to no avail

Any thoughts?
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jan 11, 2002, 12:52 AM
 
Originally posted by vsurfer:
<STRONG>Dear Penguins

I'm trying to find a terminal command in OSX 10.1.2 to list volumes

/dev/hda1
/dev/hda2
etc

and their corresponding sizes and formats so i can be sure which numbers my Linux A/UX root and swap partitions are on.
I tried
pdisk /dev/hda -l and
pdisk /dev/hda -dump

to no avail

Any thoughts?</STRONG>
Just try mount or df if they are already mounted.
-DU-...etc...
     
vsurfer  (op)
Senior User
Join Date: Sep 2000
Location: Noo Yawk
Status: Offline
Reply With Quote
Jan 17, 2002, 09:30 PM
 
Thanks, I'll remember those commands.

turns out the vols are not mounted since they are A/UX, but the installer found them and let me know they were hda14 and hda15, when it made the m ext2, so no worries.

That the installer froze on a multitude of attempts on the next to last step is another matter altogether.
     
Mac Enthusiast
Join Date: Sep 2000
Location: sLurrey
Status: Offline
Reply With Quote
Jan 17, 2002, 11:21 PM
 
a little off topic, but can osx mount ext2 partitions? i cant mount the ones i have
what i really want to do is change my yaboot/ybin partition, cause i installed debian, but cant boot into it
w3rd..
surrey represent
     
Forum Regular
Join Date: Jan 2002
Location: Manitoba
Status: Offline
Reply With Quote
Jan 18, 2002, 12:14 AM
 
Originally posted by smic:
<STRONG>a little off topic, but can osx mount ext2 partitions? i cant mount the ones i have
what i really want to do is change my yaboot/ybin partition, cause i installed debian, but cant boot into it</STRONG>
I don't think so but if you know which partition Yaboot is on boot into your OF and type:

setenv boot-device hd:#,\\:tbxi

Where '#' = the partition your bootlaoder is on

then enter

and then type

shut-down (then enter)

and reboot and you should be into your Yaboot bootlaoder and can then boot Debian, hopefully. To edit your yaboot.conf I think it resides in /etc. I had no trouble editing it but my problem was finding the proper ybin command to get my changes written into the Yaboot record (stumbled across it but I made an error and totally screwed up the bootloader )

Let me know if the above worked for you.
     
Mac Enthusiast
Join Date: Sep 2000
Location: sLurrey
Status: Offline
Reply With Quote
Jan 18, 2002, 01:09 PM
 
i can boot the bootloader partition, its just that debian doesnt use that as the default when it installs, and the yaboot is still configured to my yellowdog settings, so it won't load debian since it cant find the kernel image to load, been buggin me for 3 weeks now

i work with someone who uses just debian, but on a pc, so he was no help, cause normally it uses a boot floppy, but not on the pmac port, rrrrrrrrr

and the debian install stuff is no help either, from what i can see im doing it all right, just it wont install the 'boot off hard drive option'
w3rd..
surrey represent
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2