LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lots of noobies questions.. need help (https://www.linuxquestions.org/questions/linux-newbie-8/lots-of-noobies-questions-need-help-297305/)

lellyville 03-03-2005 04:40 PM

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

Quickdraw 03-03-2005 05:02 PM

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

linmix 03-03-2005 05:08 PM

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.

lellyville 03-03-2005 05:36 PM

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


:rolleyes: :rolleyes: :D :D

lellyville 03-03-2005 05:55 PM

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?

Quickdraw 03-03-2005 06:32 PM

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

lellyville 03-03-2005 07:12 PM

k thx i got the mount part to work :D
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?

lellyville 03-04-2005 11:09 AM

help
now lilo
have three options!!
windows
hda2
Linux

linmix 03-05-2005 12:38 PM

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 04:21 PM.