ubuntu woes

18 posts / 0 new
Last post
westieg3's picture
Offline
Last seen: 16 years 7 months ago
Joined: Apr 4 2004 - 18:03
Posts: 465
ubuntu woes

i've had ubuntu on my amd 800 machine for a few months now, and it's driving me mad. hopefully people on here can be of help, because nothing i've read on the ubuntu forums makes sense.

first off, how do i get the thing to use a second drive with the boot drive? i just want another volume mounted that has all its capacity open for files and such. installing ubuntu on it reveals a tiny little home folder, and ubuntu itself doesn't have any program for formatting drives that i know of.

other than ubuntu, are there any systems that run a little more like os x? i'm most familiar with x and would prefer it over ubuntu (and DEFINITELY over windows). i've considered os x 86, but it's HIGHLY illegal, and there's no way for me to really install it since i have no storage media big enough to install it.

Offline
Last seen: 11 years 10 months ago
Joined: Oct 7 2005 - 09:23
Posts: 87
I run ubuntu on all of my mac

I run ubuntu on all of my machines (about five ) and have used it on all of my macs as well (except for the oldworld ones)

you installed ubuntu on a small HDD probably, and ubuntu can seperate folders into individual partitions which make things like upgrades easier

if you use ext3 (basic linux filesystem), you can format drives like this

sudo mkfs.ext3 /dev/hdxx

where xx is location and partition of the drive

hda=Master Primary IDE
hdb=Slave Primart IDE
hdc=Master Sec IDE
hdd=Slave Sec IDE

SATA drives show up as SCSI drives, etc...

If you use ubuntu, I highly recommend two things:

> All files in one partition (option in setup)
>Using the whole drive for ubuntu

Also if you can, use the Desktop CD version as you can test before you install.

Jon
Jon's picture
Offline
Last seen: 13 years 6 months ago
Joined: Dec 20 2003 - 10:38
Posts: 2804
To use a second drive, first

To use a second drive, first make sure it shows up in your BIOS. Then when Ubuntu boots up you can use dmesg from a terminal/command line to see if it's there, by using the info posted above. ie, use something like dmesg | grep hdb if you installed the drive as the Primary slave, dmesg | grep hdc if it's Secondary master (though your CD-ROM is most likely there) or dmesg | grep hdd if it's Secondary slave. If it spits out a few lines and the info looks like it's the drive you attached then you know Ubuntu can see it. If it was previously formatted to something Ubuntu can read it should show up in the menus under Places. If it's NTFS, you may want to go to Applications -> Add/Remove... and install NTFS Configuration Tool.

If you need to partition the drive you can install GPartEd which is a fairly nice partition editor. It's has some useful features like shrinking non-Journaled HFS+ partitions, among other things. If not use cfdisk, which is in Ubuntu by default. Then format it to the filesystem of choice by issuing the proper filesystem formatting command. You need to know the drive (hdX) and the partition number you want to format (hdxN), which is shown in cfdisk. So if you have a Primary slave drive and all it should have is one big ext3 partition, then you'd sudo cfdisk hdb and delete all paritions on it, if need be, and create a single large partition with a Linux FS type (generally type 83). Write the changes and reboot for good measure. Then do something like sudo mkfs.ext3 /dev/hdb1 if it's the first partition of the Primary slave drive.

Using GParted is a lot easier and is through a GUI, but most systems have cfdisk installed so it's good to know how to use it in a pinch.

catmistake's picture
Offline
Last seen: 3 years 3 weeks ago
Joined: Dec 20 2003 - 10:38
Posts: 1100
hijacking thread

Any recommendations on an ubuntu drive benchmarking utility?

Jon
Jon's picture
Offline
Last seen: 13 years 6 months ago
Joined: Dec 20 2003 - 10:38
Posts: 2804
hdparm

hdparm

catmistake's picture
Offline
Last seen: 3 years 3 weeks ago
Joined: Dec 20 2003 - 10:38
Posts: 1100
Re: hdparm

ok... built-in... cool... so, how's it work?

____
edit

nvrmind... I see...
sudo hdparm -tT /dev/hd

& I thank you!

Jon
Jon's picture
Offline
Last seen: 13 years 6 months ago
Joined: Dec 20 2003 - 10:38
Posts: 2804
It's also able to change many

It's also able to change many drive settings, including turning DMA modes on and off, which can be very useful when troubleshooting a system.

westieg3's picture
Offline
Last seen: 16 years 7 months ago
Joined: Apr 4 2004 - 18:03
Posts: 465
something else to do with for

something else to do with formatting the drives. when i installed ubuntu, the drive permissions became "Owner: unknown; Permissions: read only", etc. that normal? i can change stuff around in my home folder, but it's a pain otherwise.

Jon
Jon's picture
Offline
Last seen: 13 years 6 months ago
Joined: Dec 20 2003 - 10:38
Posts: 2804
I've got no experience here.

I've got no experience here. My main large 160GB ext3 drive is connected via FW to my mini, so OS X ignores most of the Linux permission settings. (I think)

westieg3's picture
Offline
Last seen: 16 years 7 months ago
Joined: Apr 4 2004 - 18:03
Posts: 465
i tried debian on one of my o

i tried debian on one of my other hard drives in the computer today. it took 3 hours to install (install version that installs basic system and then gets the rest from the we), but it worked well from the 10 minutes i used it. glitchy mouse, but it's exactly like ubuntu except it has a TON of applications with all sorts of little codecs and such already installed! that, and it has a utility to format and mount hard drives for me. best of all, the computer completely shuts itself down with debian as opposed to ubuntu turning off the hard drives and leaving me to turn it off.

Jon
Jon's picture
Offline
Last seen: 13 years 6 months ago
Joined: Dec 20 2003 - 10:38
Posts: 2804
Your power issue is mot likel

Your power issue is most likely an issue with the way they are setup to handle ACPI. You might check the setting in the Power Prefs, or check the laptopmode config file by hand. It handles power settings too.

For the mouse, is it USB or PS/2?

Ubuntu is geared more for a basic end user. Debian has many things that can easily harm a machine in unknowing hands (ie GPartEd installed by default)

westieg3's picture
Offline
Last seen: 16 years 7 months ago
Joined: Apr 4 2004 - 18:03
Posts: 465
well the mouse started workin

well the mouse started working normally today. it's wireless, and i had it plugged in the usb 2.0 card, then i plugged it into the ps/2 with an adapter. worked fine either way, but at least now i have an extra port.

still had issues with formatting the second drive on debian. apparently something got screwed up with one of the drives (15 error with the slave plugged in, 21 with it unplugged). so i reinstalled on the master, and told it to format the slave as well. well the drive app didn't register any partitions on the slave. i'm supposing if i could just get it formatted somehow (still yet to see a linux os that does only formatting), then it might work without any issue. i can always try attaching it to my imac and running the partitioning tool on the os x install disc.

Offline
Last seen: 17 years 2 months ago
Joined: Oct 6 2007 - 07:28
Posts: 5
i still don't get a lot of th

i still don't get a lot of this....
Can you load a linux OS on a mac? say a powermac quicksilver?
If you do, does it erase all your data?
Bit of a newbie here so give us a hand, cheers!

westieg3's picture
Offline
Last seen: 16 years 7 months ago
Joined: Apr 4 2004 - 18:03
Posts: 465
you have to reformat your har

you have to reformat your hard drive to install linux. it has to partition the drive (or a partition you set for it) in a particular way. either way, everything is erased. the only way to avoid erasing everything is to install on a second hard drive, and then i believe software can switch between the two drives. of course, my pc doesn't do that, and i don't even want windows running on it.

i just hope installing on a newworld quicksilver is easier than installing on a wallstreet, because installing on the wallstreet was a miserable failure, not to mention a pain in the ass.

Jon
Jon's picture
Offline
Last seen: 13 years 6 months ago
Joined: Dec 20 2003 - 10:38
Posts: 2804
Modern versions of GPartEd ca

Modern versions of GPartEd can resize an HFS+ partition, so long as Journaling has been turned off from OS X first. Installing Linux to a NewWorld machine is not very tough at all. OldWorld is a PITA for sure.

westieg3's picture
Offline
Last seen: 16 years 7 months ago
Joined: Apr 4 2004 - 18:03
Posts: 465
trust me, it made me glad i w

trust me, it made me glad i was using my spare hard drive. of course, i don't think debian (i've since switched to that from ubuntu on the pc) takes to macs. it installed without any trouble every time, but the computer never recognized it. perhaps yellowdog which has been known to work on the wallstreet.

alk
alk's picture
Offline
Last seen: 3 years 6 months ago
Joined: Dec 20 2003 - 10:38
Posts: 369
I'm running Debian 4 on a B&W

I'm running Debian 4 on a B&W G4 with no problem.

Peace,
Drew

westieg3's picture
Offline
Last seen: 16 years 7 months ago
Joined: Apr 4 2004 - 18:03
Posts: 465
correction: old world macs. ;

correction: old world macs. Acute i do have a newworld machine i can try it on, but that will soon be reincarnated as a picture frame and i think iphoto would be best for it.

Log in or register to post comments