LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2003, 09:24 AM   #16
jxfdasilva
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15

Ya I realized that. After correct it , even so I canīt go to windows1. If I log to windows1 it gives me the same Windows (only)...

I Relized as well that hda1 menas hd a partion 1. How can I check the right partion ?

Rgds

Jose
 
Old 10-10-2003, 02:30 PM   #17
wuck
Member
 
Registered: Sep 2003
Location: barneveld.nl
Distribution: Slackware
Posts: 170

Rep: Reputation: 30
You got me a bit confused now.
Why did you post your lilo.conf? I still want to know the output of your fdisk ...

If you want to know what's luring on a partition, you might want to mount it:

# mount /dev/hda1 /mnt/hda1

(be sure to create non-existent dirs like /mnt/hda1)

And check it out by saying:

$ ls /mnt/hda1

Last edited by wuck; 10-10-2003 at 02:34 PM.
 
Old 10-11-2003, 05:24 AM   #18
jxfdasilva
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Hi,

[jose@cust128-231 jose]$ ls /mnt/hda1
ls: /mnt/hda1: No such file or directory
[jose@cust128-231 jose]$ # mount /dev/hda1 /mnt/hda1
[jose@cust128-231 jose]$
[jose@cust128-231 jose]$ ls /mnt/hda1
ls: /mnt/hda1: No such file or directory
[jose@cust128-231 jose]$

All this commands are very strange to me...
 
Old 10-11-2003, 05:45 AM   #19
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
create the mount directory first before mounting your device block.
mkdir /mnt/hda1

if you've still got /dev/hda1 mounted before creating the mount point directory, you may have to unmount /dev/hda1 first
umount /dev/hda1

but i'm not sure on that.

Last edited by megaspaz; 10-11-2003 at 05:48 AM.
 
Old 10-11-2003, 06:14 AM   #20
jxfdasilva
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Thatīs what Iīve done:


root@cust128-231 jose]# mkdir /mnt/hda1
[root@cust128-231 jose]#
[root@cust128-231 jose]# umount /dev/hda1
umount: /dev/hda1: not mounted
[root@cust128-231 jose]#
[root@cust128-231 jose]# mkdir /mnt/hda1
mkdir: cannot create directory `/mnt/hda1': File exists
[root@cust128-231 jose]#
 
Old 10-12-2003, 05:31 AM   #21
wuck
Member
 
Registered: Sep 2003
Location: barneveld.nl
Distribution: Slackware
Posts: 170

Rep: Reputation: 30
Please excuse my inclearness again.

If you want to know what is on _any_ partition (for example: /dev/hda1) say:

# umount /dev/hda1
# mkdir -p /mnt/hda1
# mount /dev/hda1 /mnt/hda1
# ls /mnt/hda1

And please look at the output of:

# fdisk -l

To know what partitions are where.
 
  


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
Linux under Windows - to use USB devices, not affect / reboot Windows, etc? pianoplayer88key General 2 12-01-2005 07:17 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 06:03 AM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 07:47 AM
Running Windows Games In Linux From Windows Hard Drive Darkstar274 Linux - Games 2 12-25-2003 11:19 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration