Trouble preparing HD for slackware 11 install HELP!
Linux - NewbieThis 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.
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.
So I've done a bit of research, alot of peoples opinions vary, but I think I'm going to make the switch to ubuntu alot of users seem to think it's much easier and friendlier, it'll take a day or so to download the torrent so i can burn iso to disc, opinions welcome!
StarsAndBars14 Use either Ubuntu or Mandriva if you're looking for something hospitable to newbies.
I've got dual monitors a 19"dell LCD and a 20.1" widescreen LCD from LG...does one of these distro's support multi-monitor support better than another?? What's the major difference between the two distro's? is one easier then the other? does one have less options/power? how would you rate the two distro's side by side?
titopoquito About network: You should have been asked some questions about it during installation, but you can do it as root, just type "netconfig".
Audio: It's probably just muted. Do "alsamixer" as root, change the volumes and exit that mixer with ESCAPE key. Then type "alsactl store". Edit /etc/group as root and add your normal user to at least the groups audio, cdrom and video.
EDIT: resolution: Edit /etc/X11/xorg.conf as root and add the needed resolution, the lines look like this for example:
Code:
I finaly figured out how to get into those files to edit them. When I added the resolution mode "1280x1024" to the lists, nothing happened. So I tired rebooting, still nothing. Then i went back into the file to check if it was still there. It was still edited. For some stupid reason, I thought if i deleted the space between the 'Depth 8 modes "1280x1024" ' to this 'Depth 8 modes"1280x1024" ' it might find that change, because i couldn't remember if there was a space originally or not. Well (stupid move on my part) when I logged out, and tried to log back in, I couldn't startX up again because it says no screens exsist..........is there anyway for me to edit that file while i'm still in the black and white DOS type screen? I looked through some other threads and couldn't find anything on the topic because I don't know what that screen is called (the one when it starts and askes to log in, then you can type startX to load the GUI)
Any help would be awesome! (I know I've been asking alot of questions, I really appreciate everyone's support and patience with me while i make the jump into the world of linux!
First of all can you tell us what graphics card do you have? that would help to configure graphics properly.
Let's try to mount the disk:
You said that the disk was on /dev/sdb1 right? (let's supose that it is)
Login as root
Code:
>su
>mkdir /mnt/usb
Now you need to know the partition type of your USB drive (if it was formated using windows it will be FAT32 or NTFS), if you dont know you can try either of following commands.
Code:
mount -t ntfs /dev/sdb1 /mnt/usb
or
Code:
mount -t vfat /dev/sdb1 /mnt/usb
Note that NTFS partitions are not writable in linux so you can only read data.
If it works we can talk later on how to mount this automaticaly with linux boot.
Let's try to configure the network:
Have you tried netconfig and choosed DHCP? Maybe you have more than one Ethernet card, could be?
Try to:
Instead of eth0 it can be eth1, eth2... if you have more than one ethernet card ('lo' is the loopback, not a ethernet card).
Do you have any IP address assigned like 192.168.1.2 ?
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
That's hard to say. Slackware is not that beast that can't be handled by newbies, but you have to read a little bit more to get it working in the beginning. The way it is configured, for example its BSD-style init scripts, is IMHO much easier than in other distros I tried, but that's probably also just a matter of taste. I think Slackware is worth it, but you will need more patience to get it running first, especially if your absolutely new to Linux. Maybe there are other distros that *look* more than Windows, but Linux *is* not Windows -- Slackware is IMHO a good distro to learn this different OS.
If you dare to hazzle with it:
If you startup KDE as normal user start kmix (in Multimedia). Have you added the user to the audio group in /etc/group? You didn't write anything about it ...
Plug in the external harddisk and some seconds later call "dmesg". What's its output? Did you try to mount it as root or normal user, that makes much of a difference.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
Quote:
Originally Posted by Lypur
is there anyway for me to edit that file while i'm still in the black and white DOS type screen?
With Slackware there come pico or vim for example. I like pico better (nope, I don't want to start a flame war ). Type "pico /etc/X11/xorg.conf" change it, but be careful, sometimes it wraps long lines, if that happens go to the first end and type "del" to make it once again *one* line. Type "Ctrl+X" to exit and you'll be asked to save the file.
Instead of eth0 it can be eth1, eth2... if you have more than one ethernet card ('lo' is the loopback, not a ethernet card).
Do you have any IP address assigned like 192.168.1.2 ?
When i ran ifconfig it came up with this
Code:
lo link encap:Local Loopback inet addr:127.0.0.1 Mask :255.0.0.0
UpLOOPBACK RUNNING MTU :16436 Metric:1 RX packets :0 errors:0
(everything's answer is 0 and 0 bytes) (I don't know what this means or how to fix it)
titopoquito
Quote:
Originally Posted by Lypur
is there anyway for me to edit that file while i'm still in the black and white DOS type screen?
With Slackware there come pico or vim for example. I like pico better (nope, I don't want to start a flame war ). Type "pico /etc/X11/xorg.conf" change it, but be careful, sometimes it wraps long lines, if that happens go to the first end and type "del" to make it once again *one* line. Type "Ctrl+X" to exit and you'll be asked to save the file.
Thanks I got it working in less then a few minutes after I read what you posted that was REALLY helpful thanks!
Oh and about the sound, sorry I didn't give you an update on that. I added my normal user to the audio groups, and used that kmix program. sound works great now ^_^ thanks!
Don't give up!! Don't go back to the Dark Side. The more I mess around with Slackware and learn new things, the better I like it.
I try other distos, but Slack is my fav and the one I have the most fun with.
Now you need to know the partition type of your USB drive (if it was formated using windows it will be FAT32 or NTFS), if you dont know you can try either of following commands.
Code:
mount -t ntfs /dev/sdb1 /mnt/usb
or
Code:
mount -t vfat /dev/sdb1 /mnt/usb
So i looked it up and it's a HPFS/NTFS file system. I followed you're code when I typed in mkdir /mnt/usb it said that it already exsisted. so then i entered the "mount -t ntfs /dev/sdb1 /mnt/usb"
then when i hit enter, it just went to the next line? does that mean it worked? I clicked on "system" and then storage media. (I'm used to windows so i thought the external would show up in that folder, correct me if i'm wrong)
Anyway, it didn't show up Did I do something wrong? It's alright if I can't write files to that hard drive for now, as long as I can access them, and copy them over to my internal HD? The external has my backup of EVERYTHING all my pictures, music, movies, documents etc etc, and to top it off it's the only back up so reformatting it is out of the question, until I can back it up.
So if it mounted properly why can't i access it? Or better yet, how do you access it? (I'm a bit confused here :S not sure if it's not working and I couldn't find it if my life depended on it, OR it IS working but I'm just plain stupid.)
Also after editing that file to add that extra resolution, it doesn't show up in the "configure desktop/display" area i'm still getting 1024 x 768 as the max one thing i've noticed is it's added a new display "640 x 350"...which doesn't make any sense because when I open the "xorg.conf" file, the displays are STILL "1280x1024" "1024x768" "800x600" "640x480" that's also very confusing to me!! Good news is, I found out someone I know uses linux, he uses Red Hat, and seems to want me to switch to Red Hat because that's what he was taught in university. I'm not so sure though, I've known him for awhile. He said he'd come over sometime this week but it's still up in the air. So what do you guys think of Red Hat? How does it compare with Ubuntu and Slackware? Is it worth the switch? Currently I've got the ISO image of Ubuntu 6.10 burnt to DVD and ready to go. I was thinking about wiping slackware off so that I could try out Ubuntu, I think it would be cool to see how another distro ran, also maybe ubuntu would connect to the internet right away! Lemme know what you think!
lo link encap:Local Loopback inet addr:127.0.0.1 Mask :255.0.0.0 UpLOOPBACK RUNNING MTU :16436 Metric:1 RX packets :0 errors:0 (everything's answer is 0 and 0 bytes) (I don't know what this means or how to fix it)
Okay, seems that you have the net interface down. Try this:
Code:
> netconfig
> ip link set eth0 up
This should configure and then set the interface up.
So i looked it up and it's a HPFS/NTFS file system. I followed you're code when I typed in mkdir /mnt/usb it said that it already exsisted. so then i entered the "mount -t ntfs /dev/sdb1 /mnt/usb"
then when i hit enter, it just went to the next line? does that mean it worked? I clicked on "system" and then storage media. (I'm used to windows so i thought the external would show up in that folder, correct me if i'm wrong)
Yes, it mean it worked (I hope ). To access you have to go inside /mnt/usb .
Let's hope this work so you won't have to stay changing from windows to linux again and again.
Quote:
He said he'd come over sometime this week but it's still up in the air. So what do you guys think of Red Hat? How does it compare with Ubuntu and Slackware?
I think Slackware is not as easy as Ubuntu or Red Hat for a beginner. On the other hand, I prefer Slackware because it teached me how to really use linux (no, i don't want to start a flame) It's not full of 'wizards' etc etc...
Okay, seems that you have the net interface down. Try this:
Code:
> netconfig > ip link set eth0 up
When I go through netconfig, I I type in the host name and domain name as "Lypur" and "com" do they matter at all? then it asks for static or DHCP or loop back, now I select DHCP now it asks for a DHCP host name? I have no idea what to do here so i just hit enter now it says "confirm setup complete"
Hostname: Lypur
Domain name: com
IP address: (use DHCP server)
Netmask: (use DHCP server)
Gateway: (use DHCP server)
Nameserver: (use DHCP server)
Then I push "yes" to confirm.
Settings accepted. Basic network configuration is complete.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.