LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-03-2005, 05:40 PM   #1
lellyville
LQ Newbie
 
Registered: Feb 2005
Posts: 25

Rep: Reputation: 15
Lots of noobies questions.. need help


i just started slackware a week ago, and it has been quite good
i took a sugestion from my friend, so i install on my 10gb hdd and had my windows on my 120gb hdd. here is the problem
When Lilo comes up it shows two choices one is linux and one is windows, i can boot into slackware, but i can;t boot into windows, it just say loading windows, and nothing happens
how do i fix that?
my 2nd question is how come slack only detect my cd rom it doesn;t detect my dvd writer???
3rd questions is how do i access my windows hdd? when i open HOme
it only shows linux hdd, is there some way i can make it show my windows hdd so i can play mp3 from my windows hdd
 
Old 03-03-2005, 06:02 PM   #2
Quickdraw
Member
 
Registered: Dec 2003
Location: NY
Distribution: Slackware
Posts: 41

Rep: Reputation: 16
Hi lellyville,

In order for slackware to see your dvd you just need to make a minor change to your fstab file. First you will want to make a mount point for your dvd, so from the command run mkdir /mnt/dvd, then you will need to modify the fstab file. open up the /etc/fstab file and copy the entire cdrom line and paste it just below, and change the word cdrom to dvd

/dev/cdrom /mnt/cd-rw iso9660 noauto,ro,user 0 0
/dev/dvd /mnt/dvd iso9660 noauto,ro,user 0 0

As for windows not loading from the lilo prompt could you please post a copy of you lilo.conf file here ?

and in order to be able to access you windows HD from slackware you will need to mount it first.

what i did is created a folder in the root tree called Windows then using the mount command

mount -t ntfs /dev/hd? /Windows

just be sure to replace the hd? with the device name of your windows drive


Hope this helps

Last edited by Quickdraw; 03-03-2005 at 06:03 PM.
 
Old 03-03-2005, 06:08 PM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I'll start with the last question. Accessing windows partitions from Linux.

In order to be able to access the partition(s) your windows system is on you need to mount it.
You'll need root priviledges for this, so in a console type "su" and then root's password.

First, create a mountpoint.
# mkdir /mnt/win_c

then you need to mount the windows partition to the mountpoint
# mount -t vfat /dev/hda1 /mnt/win_c

This will mount the first partition on your HD to the mountpoint you created before, provided the filesystem is FAT32, if it's ntfs, just substitute "vfat" for"ntfs".

If that works, you may want to consider adding an entry to your fstab to automatically mount the partition when you boot up.

# gedit /etc/fstab
and then add a line like this
/dev/hda1 /mnt/win_c vfat defaults,umask=000 0 0

let me know if you need any further help on this.
 
Old 03-03-2005, 06:36 PM   #4
lellyville
LQ Newbie
 
Registered: Feb 2005
Posts: 25

Original Poster
Rep: Reputation: 15
thx alot guys
here is LILO log
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot="/dev/hdb1"
message = /boot/boot_message.txt
prompt
timeout="200"
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga="773"
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
map = /boot/map-bmp
install=/boot/boot-bmp
bitmap = /boot/lilo2.bmp
bmp-colors = 15,,0;5,,15
bmp-table = 59,5,1,18,
bmp-timer= 66,28,6,8,0
# End LILO global section
# Windows bootable partition config begins

other = /dev/hda1
label="WindowsXp Pro"
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins

image = /boot/vmlinuz
root = /dev/hdb1
label = Slack4life
read-only
# Linux bootable partition config ends


 
Old 03-03-2005, 06:55 PM   #5
lellyville
LQ Newbie
 
Registered: Feb 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by linmix
I'll start with the last question. Accessing windows partitions from Linux.

In order to be able to access the partition(s) your windows system is on you need to mount it.
You'll need root priviledges for this, so in a console type "su" and then root's password.

First, create a mountpoint.
# mkdir /mnt/win_c

then you need to mount the windows partition to the mountpoint
# mount -t vfat /dev/hda1 /mnt/win_c

This will mount the first partition on your HD to the mountpoint you created before, provided the filesystem is FAT32, if it's ntfs, just substitute "vfat" for"ntfs".

If that works, you may want to consider adding an entry to your fstab to automatically mount the partition when you boot up.

# gedit /etc/fstab
and then add a line like this
/dev/hda1 /mnt/win_c vfat defaults,umask=000 0 0

let me know if you need any further help on this.
THx for the replies
when i type mount -t ntfs /dev/hda1/mnt/win_c
it show whole bunch of help messenges????

Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .


is it suppose to happen? or did i typed sumthing wrong?

Btw my120gb is divied into 4 partitions, how do i know the name for each partition?

Last edited by lellyville; 03-03-2005 at 07:23 PM.
 
Old 03-03-2005, 07:32 PM   #6
Quickdraw
Member
 
Registered: Dec 2003
Location: NY
Distribution: Slackware
Posts: 41

Rep: Reputation: 16
Quote:
# Windows bootable partition config begins
other = /dev/hda1
label="WindowsXp Pro"
table = /dev/hda
# Windows bootable partition config ends
Try changing to

other = /dev/hda1
boot-as = 0x80
label = WinXP
table = /dev/hda

and then re-run lilo

also for the mount command above, not sure if it was just a typo but you want a space between /hda1 and /mnt

Last edited by Quickdraw; 03-03-2005 at 07:34 PM.
 
Old 03-03-2005, 08:12 PM   #7
lellyville
LQ Newbie
 
Registered: Feb 2005
Posts: 25

Original Poster
Rep: Reputation: 15
k thx i got the mount part to work
ya!!!!!cheers

but ... as for lilo same as before....
and for the dvd rom part, i thought it should be working, but it doesn't read cds when i put the cd in it says no median found... and when i put the disk in cdrom and click dvd it mounts...!???
Why does it do that?

Last edited by lellyville; 03-03-2005 at 08:47 PM.
 
Old 03-04-2005, 12:09 PM   #8
lellyville
LQ Newbie
 
Registered: Feb 2005
Posts: 25

Original Poster
Rep: Reputation: 15
help
now lilo
have three options!!
windows
hda2
Linux
 
Old 03-05-2005, 01:38 PM   #9
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Quote:
Originally posted by lellyville
THx for the replies
when i type mount -t ntfs /dev/hda1/mnt/win_c
it show whole bunch of help messenges????

[snip]

is it suppose to happen? or did i typed sumthing wrong?
Looks like you missed the space between /dev/hda1 and /mnt/win_c
As a consequence mount doesn't have a valid argument and reminds you how to build a valid one.
 
  


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
lots of questions istratos Conectiva 4 10-12-2005 10:30 AM
Lots of questions sumedhk Linux - Newbie 3 01-27-2005 04:21 AM
lots of different questions nibbler Linux - General 5 11-09-2003 03:45 PM
Lots of questions.. Xploder Linux - Newbie 2 07-22-2001 08:40 PM
Lots of questions Carrot Linux - Newbie 4 04-08-2001 02:33 PM


All times are GMT -5. The time now is 07:57 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