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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-03-2005, 05:40 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 25
Rep:
|
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
|
|
|
03-03-2005, 06:02 PM
|
#2
|
Member
Registered: Dec 2003
Location: NY
Distribution: Slackware
Posts: 41
Rep:
|
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.
|
|
|
03-03-2005, 06:08 PM
|
#3
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
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.
|
|
|
03-03-2005, 06:36 PM
|
#4
|
LQ Newbie
Registered: Feb 2005
Posts: 25
Original Poster
Rep:
|
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
|
|
|
03-03-2005, 06:55 PM
|
#5
|
LQ Newbie
Registered: Feb 2005
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
03-03-2005, 07:32 PM
|
#6
|
Member
Registered: Dec 2003
Location: NY
Distribution: Slackware
Posts: 41
Rep:
|
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.
|
|
|
03-03-2005, 08:12 PM
|
#7
|
LQ Newbie
Registered: Feb 2005
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
03-04-2005, 12:09 PM
|
#8
|
LQ Newbie
Registered: Feb 2005
Posts: 25
Original Poster
Rep:
|
help
now lilo
have three options!!
windows
hda2
Linux
|
|
|
03-05-2005, 01:38 PM
|
#9
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|