LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-13-2006, 11:14 AM   #1
iarebob
LQ Newbie
 
Registered: Jan 2005
Location: miami florida
Distribution: ubuntu
Posts: 18

Rep: Reputation: 0
cd /dev/hda dosn't work


i am trying to install osx on one of my drives. the tutorial i was following involved me cding into one of my drives. first i get a root shell (sudo -s i think) then i mount my drive. it says the drive is not in the /ect/fstab thingy magingy. so i open the diskmanager and attempt to enable it. it works and i can brows the folder useing the gui. when i attempt to mount it in the terminal it says that it's already mount. sounds great all i have to do now is cd into it right. well i try and guess what. i get the error file or firectory does not exist. wtf. any ideas? the mount point i set for it in the disk manager is /. mabey wrong mount point? i don't know how to change the fstab in ubuntu. is there an option at boot up to auto mount all my drives(i have 2 drives but the first one has 4 partions). any help would be great. it's the ubuntu 5.10 live cd.

Last edited by iarebob; 01-13-2006 at 03:10 PM.
 
Old 01-13-2006, 11:45 AM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally Posted by iarebob
i am trying to install osx on one of my drives.
Huh? You mean the bootlegged version of the x86 OS X?

Quote:
the tutorial i was following involved me cding into one of my drives.
cding from where? Ubuntu?

Quote:
first i get a root shell (sudo -s i think) then i mount my drive. it says the drive is not in the /ect/fstab thingy magingy.
Can you post exactly what you're typing to mount it and exactly what error you get?

Quote:
so i open the dickmanager and attempt to enable it. it works and i can brows the folder useing the gui.
What's the dickmanager?

Quote:
when i attempt to mount it in the terminal it says that it's already mount. sounds great all i have to do now is cd into it right. well i try and guess what. i get the error file or firectory does not exist. wtf. any ideas?
No ideas unless you post exactly what you're typing and exactly what errors you get. I still don't understand how mounting a partition in Ubuntu helps you install OS X...

Quote:
the mount point i set for it in the disk manager is /. mabey wrong mount point?
It's definitely wrong. / means the root mount point--that's the beginning of your entire filesystem, and it should already be mounted; otherwise, you wouldn't be in Ubuntu at all. You still haven't given any details about what you're trying to mount. Is this a Windows partition?

Quote:
i don't know how to change the fstab in ubuntu. is there an option at boot up to auto mount all my drives(i have 2 drives but the first one has 4 partions). any help would be great. it's the ubuntu 5.10 live cd.
If you're using a live CD, you won't be able to have the drives automount every time you boot up. This is a setting you can change only with an actual installation of Ubuntu. If you want a live CD that does this, try Knoppix or Mepis.

If you're still interested in mounting your partitions, post the output of these three commands (do not describe the output--copy and paste it exactly as it comes out):
Code:
cat /etc/fstab
sudo fdisk -l
df -h
 
Old 01-13-2006, 11:58 AM   #3
zhelezov
Member
 
Registered: Jan 2006
Location: Bulgaria
Distribution: debian, grml, ubuntu
Posts: 69

Rep: Reputation: 15
Quote:
i am trying to install osx on one of my drives.
i don't get the point of installing within another OS.

Quote:
it works and i can brows the folder useing the gui. when i attempt to mount it in the terminal it says that it's already mount. sounds great all i have to do now is cd into it right. well i try and guess what. i get the error file or firectory does not exist.
You can browse it so it IS already mounted. Issuing the 'mount' command with no option in the term will show you the exact mountpoint and then just cd into it, as you say.

Quote:
is there an option at boot up to auto mount all my drives(i have 2 drives but the first one has 4 partions).
and now's the time to meet fstab face-to-face and add the option 'auto' in the options_field of every non-removable drive_partition you feel nessessary...

P.S. Slac, Ubuntu, OS installer - where are you in fact???
 
Old 01-13-2006, 03:21 PM   #4
iarebob
LQ Newbie
 
Registered: Jan 2005
Location: miami florida
Distribution: ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
root@dhcp-578-58:~# cat /etc/fstab
/dev/mapper/casper-snapshot / auto noatime 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
root@dhcp-578-58:~# sudo fdisk -l

Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/hda2 5100 24320 154392682+ f W95 Ext'd (LBA)
/dev/hda5 5100 10198 40957686 7 HPFS/NTFS
/dev/hda6 10199 15297 40957686 7 HPFS/NTFS
/dev/hda7 15298 24320 72477216 7 HPFS/NTFS

Disk /dev/hdb: 13.5 GB, 13520166912 bytes
255 heads, 63 sectors/track, 1643 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 1643 13189365 f W95 Ext'd (LBA)
/dev/hdb5 2 1643 13189333+ 7 HPFS/NTFS
root@dhcp-578-58:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/casper-snapshot
2.0G 1.3G 670M 65% /
tmpfs 507M 4.0K 507M 1% /dev/shm
tmpfs 507M 13M 494M 3% /lib/modules/2.6.12-9-386/volatile
tmpfs 507M 20K 507M 1% /tmp
tmpfs 10M 2.9M 7.2M 29% /dev

yes it is the x86 OSX.
i am cding from ubuntu.
typo i ment diskmanager.
i type sudo -s for the root shell.
i type mount /dev/hda1 and it says "mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab"
me mounting it is a step in getting os10 on my drive(http://www.360insider.net/forums/showthread.php?t=203)
i was mistaken it was acces path i was setting. still don't know what it should be. it is a windows(ntfs) partion that i am trying to mount(actually several partions all of which are windows)
 
Old 01-13-2006, 08:49 PM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
It looks as if you have four NTFS partitions. I'm going to assume /dev/hda1 is the one that really matters (and I still don't know how mounting it helps you install OS X... but you can figure that part out--the link you linked to made no sense to me).

Open a terminal and copy and paste these commands in this order:
Code:
sudo umount /dev/hda1
sudo mkdir /windows
sudo mount /dev/hda1 /windows -t ntfs -o nls=utf8,umask=0222
cd /windows
ls
If you prefer to browse it graphically, press Alt-F2 and type
Code:
nautilus /windows

Last edited by aysiu; 01-13-2006 at 08:51 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/hda under lilo.conf even thoug my HD is under /dev/hdb Basel Slackware 8 10-27-2005 06:00 PM
dd if=/dev/hda of=dev/hdb taking forever to complete fechin Linux - Hardware 7 06-19-2005 12:04 AM
hdparm -d1 -p4 /dev/hda don't work hubabuba Slackware 2 10-24-2004 09:39 PM
How can I boot either one of my hard drives /dev/hda or /dev/hdb, I have RH9 and FC2 omogunkristi Linux - General 1 06-21-2004 05:11 AM
My sound card dosn't work please help! Thantos Slackware 4 09-22-2003 08:17 AM


All times are GMT -5. The time now is 09:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration