LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-01-2005, 01:50 AM   #16
randrake
Member
 
Registered: Mar 2004
Location: P.E.I. Canada
Distribution: Any nix or other OS I can get my hands on!
Posts: 156

Original Poster
Rep: Reputation: 30

Gave up Xandros, tried Knoppix 3.9 and loved it but dvd roms (2 devices) would not work, so gave it up. I have downloaded the first 3 Debian 3.1 cds, and have successfully installed a working desktop. But I have encountered 3 snags the first not to serious is that I can not get the GAG boot loader to boot it, because I couldn,t seem to get grub on the boot portion of my Debian partition (I like GAG as it is much easily restored if XP needs to be reinstalled), anyway simply set grup to the mbr of hda and will live with it.

More annoying is I have to edit xf86Config because my 17"Sharp lcd monitor isn,t setup properly i can only get 800 x 600 resolution, and 1280 x 1024 is the setting I want.

But most annoying of all is that I can not read and write to my 3 vfat partitions, because of permissions issues. I must have this because I use thunderbird to share my email inbox between Debian, Suse, and windows. Also just for general file sharing.
Any help fixing this is appreciated.

This is my current /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb5 none swap sw 0 0
/dev/hda1 /mnt/hda1 ntfs ro,user,auto 0 0
/dev/hda5 /mnt/hda5 vfat rw,user,auto 0 0 1
/dev/hda6 /mnt/hda6 vfat rw,user,auto 0 0 1
/dev/hdb6 /mnt/hdb6 vfat rw,user,auto 0 0 1
/dev/hdb7 /mnt/hdb7 ntfs ro,user,auto 0 0

/dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

And the default I backed up

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb5 none swap sw 0 0
/dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

I do not if it is in this file that I can fix the permissions issues I am having, I tried changing them in the usual way from the properties menu but to no avail.

Last edited by randrake; 08-01-2005 at 01:56 AM.
 
Old 08-01-2005, 02:47 AM   #17
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 636
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Good starting point!

Quote:
Originally posted by randrake
Yes it is, I would realy like to have a debian system, I have tried knoppix and fell in love with apt, however it would not allow me access to my dvd drives. Currently I have xandros 3.01 that came with a Linux magazine I purchase off and on. However installing software to this Debian based distribution, from Debian doesn't always work, k3b and Amarok will not install. But I will not give up untill I am able to get it to work.
If you already have Xandros 3.01, frankly that is a pretty good distro in its own right. Xandros does muck around with a few things, most notably the file browser. If you change things, you might break the behavior of some of the Xandros stuff. On the other hand, if you want a Debian based distro and you just want a good starting point, if Xandros already works, you can simply add and remove entries in the file /etc/apt/sources.list, and possibly also in /etc/apt/preferences, and you will be all set to go.

I would recommend simply adding one or two Debian repositories and then install what you want. I think you can get a full blown Debian distro that way.

Here are some workable repositories:

in /etc/apt/sources.list:

# Primary
deb ftp://ftp.us.debian.org/debian testing main contrib non-free
deb ftp://ftp.us.debian.org/debian unstable main contrib non-free

Then in /etc/apt/preferences:


Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 800

You can change the Pin priority or the repository, for example, you can make the priority 999 and the repository a=testing instead of a=unstable.

By modifying whatever Xandros gives you, very quickly, asssuming you have a high speed network, you can change your system into whatever you want.

Before you start, see if you can install synaptic from the Xandros repositories or if you have it already installed. If you do, your job is that much easier because Synaptic can automatically change some of these values (without you having to manually edit the files) by using synaptic's preferences. You can also use KDE's kpackage instead of standard Debian tools. Kpackage will also go out to the Debian repositories and get files.

Anyway, I think you can use Xandros as a springboard to get where you want to go. Try it. Worst case, if you trash it all, just reinstall it (back up first if you are worried about any data). However, I've played on the dangerous side of life for four years now, updating Xandros, LindowsOS, Linspire, the successor to LindowsOS, MEPIS, Libranet, and many other Debian based systems, and I hack at these configurations all the time. Occasionally I break them. Depending on how much time I want to spend, I either back out my changes or install over them. I've never come across such a big problem that I couldn't resolve it within less than an hour.
 
Old 08-01-2005, 09:22 AM   #18
juanjavier_xxx
Member
 
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186

Rep: Reputation: 31
Re: Good starting point!

Quote:
Originally posted by masinick
I would recommend simply adding one or two Debian repositories and then install what you want. I think you can get a full blown Debian distro that way.
---Absolutely; I agree w/that. I too think it works that way.

Quote:
Here are some workable repositories:

in /etc/apt/sources.list:

# Primary
deb ftp://ftp.us.debian.org/debian testing main contrib non-free
deb ftp://ftp.us.debian.org/debian unstable main contrib non-free

Then in /etc/apt/preferences:
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 800
You can change the Pin priority or the repository, for example, you can make the priority 999 and the repository a=testing instead of a=unstable.

By modifying whatever Xandros gives you, very quickly, asssuming you have a high speed network, you can change your system into whatever you want.
Good command; that is.

Quote:
I've never come across such a big problem that I couldn't resolve it within less than an hour.
---Haha....Yeah, you rule...!!!!
 
Old 08-01-2005, 01:48 PM   #19
Linuxer12345
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Rep: Reputation: 15
Thumbs up

I have just tried Debian 3.1 and think it works great. Previously I didnt get any graphical interface but now Gnome runs right away with no problem. If you havent got any network try to burn the DVDs. It is not fun to swap CDs all the time. APT or the graphical interface Synaptic works great too.
 
Old 08-02-2005, 01:34 AM   #20
randrake
Member
 
Registered: Mar 2004
Location: P.E.I. Canada
Distribution: Any nix or other OS I can get my hands on!
Posts: 156

Original Poster
Rep: Reputation: 30
I to have 3.1 sarg installed and so far like it, however as stated above cannot write to my vfat partitions, only view them. Any way I could not set up my monitor, could go no higher than 800x600 resolution, and nothing i could do could fix it, and reconfiguring x86config made matters even worse. So got to thinking and came to the conclusion that if knoppix is debian based and can automatically detect my hardware and configure my x system, why not simply boot into knoppix and copy the files into debian, and you know it worked. X is now working. Now if I could just get those partitions working.
 
Old 08-02-2005, 12:47 PM   #21
Linuxer12345
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Rep: Reputation: 15
I also just had lower resolution first but I edited the /etc/X11/XF86Config-4 file and just added the higher resolution where it said 800*600

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "MyMonitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Then I could change to higher resolution with Desktop Settings and Screen Resolution program.

I also have a NVidia graphics card that I installed with help from this link
http://home.comcast.net/~andrex/Debi...tallation.html

I have not tried to mount any partion but I have a note you can try
mount -t msdos /dev/hda1 /mnt
 
Old 08-03-2005, 01:38 AM   #22
randrake
Member
 
Registered: Mar 2004
Location: P.E.I. Canada
Distribution: Any nix or other OS I can get my hands on!
Posts: 156

Original Poster
Rep: Reputation: 30
Nothing I tried would improve my monitors screen size, but remembering it was always done perfectly with knoppix i devised a work around by booting into knoppix and insuring settings etc were as i wanted them, then simply copying and pasting the xf86 files from knoppix and replacing debian's with them, and rebooted out of knoppix and into debian and finding the problem was solved.

As for the vfat partitions (usb flash drive also) I have no problems mounting them it is writing to them that has me snaged. It appears I am having some permissions problems, I can not change the permissions the usual way by editing the properties menu, and i know of no other way. Thanks for the link I will try the 3d driver for my nvidea card after i solve these issues.

Last edited by randrake; 08-03-2005 at 01:45 AM.
 
Old 08-03-2005, 01:44 AM   #23
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The permissions for the flash drive should be controlled by /etc/fstab.
 
Old 08-03-2005, 09:30 AM   #24
juanjavier_xxx
Member
 
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186

Rep: Reputation: 31
Quote:
Originally posted by TigerOC
The permissions for the flash drive should be controlled by /etc/fstab.
---Correct; Randrake; you should check that....post here your /etc/fstab, and see what it shows.....
 
Old 08-03-2005, 02:10 PM   #25
randrake
Member
 
Registered: Mar 2004
Location: P.E.I. Canada
Distribution: Any nix or other OS I can get my hands on!
Posts: 156

Original Poster
Rep: Reputation: 30
I found a post I started regarding my knoppix instal I was using on the same partition as i now have Sarge, I have found that it was the /etc/fstab settings for my dvd drives that caused knoppix not to read them, because I replaced the sarge fstab with the knoppix one and was able to read the fat partitions but not the dvd drives, changed the dvd drives back to what they were in sarge and all is ok with them now, however my flash drive still eludes me. I think it is in the naming of the drive, Suse calles it sde5, not hda1. When playing with knoppix with my home folder saved to usb it was called sed1, and I beleive it was called usb1 by another distro i was trying out on this partition. I was able to move grub onto the sarg partition and now the gag bootloader works. Any way here is the fstab. am I correct that I can remove the #added by KNOPPIX lines. I also fixed my xf6config by copying the files from knoppix when booted to the cd. I added these lines from the knoppix fstab thinking it would fix my usb flash drive problem but it has not.
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0

This is the file now in use. Thanks again.

# /etc/fstab: static file system information.

# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 vfat auto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda6 /mnt/hda6 vfat auto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hdb5 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdb6 /mnt/hdb6 vfat auto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hdb7 /mnt/hdb7 ntfs noauto,users,exec,ro,umask=000 0 0
/dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
 
Old 08-03-2005, 03:03 PM   #26
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Found this howto which should solve the problem.
 
Old 08-03-2005, 03:35 PM   #27
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Try adding the extra option "umask=0000" for the vfat partitions in /etc/fstab. This will give full read-write-exec premission to everybody, so that you can write to the files are you requested.
 
Old 08-04-2005, 02:23 PM   #28
randrake
Member
 
Registered: Mar 2004
Location: P.E.I. Canada
Distribution: Any nix or other OS I can get my hands on!
Posts: 156

Original Poster
Rep: Reputation: 30
Yes that works; thanks, also found that (after using knoppix) that my flash drive is named hde1 not hda1 (as it seems named by most systms) and I can access it in the dev tree in konqueror, however it will not pop up a window as it does in knoppix and my Suse partition, however it can not be unmounted if another flash drive is desired to be used. I am part way there. Noticed in other threads of the same topic that the kernel 2.4 as I am using may well be the problem.
 
  


Reply



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
Need advise to do this... raxvoc Fedora 4 11-14-2005 11:21 PM
Advise Me Please hossam Linux - Software 4 04-23-2005 08:58 PM
UBER-Newbie Wants To Attempt A Debian Install - PLEASE ADVISE Rexversusu Linux - Newbie 9 10-23-2004 12:36 PM
Advise for debian install with winxp and slack insyte Debian 6 08-13-2004 12:58 PM
Please advise samhus Linux - Hardware 3 07-27-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:18 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
Open Source Consulting | Domain Registration