Jump to content

Debian Install


longgone

Recommended Posts

yeah makes alot of sense,..... quick question, are you getting online before and then doing the apt-gets???? also if your back in your pclos can you do

# mount /dev/hda12 /mnt/Debian

cat /mnt/Debian/etc/apt/sources.list

Also Dale this could be much easier if you add the debian to your fstabs on (pclos), and on debian add your other OS and create your mount point /mnt/

Link to comment
Share on other sites

  • Replies 171
  • Created
  • Last Reply

Top Posters In This Topic

  • longgone

    78

  • steel

    51

  • Bruno

    16

  • réjean

    14

Top Posters In This Topic

Password:[root@localhost dale]# mount /dev/hda12 /mnt/Debian[root@localhost dale]# cat /mnt/Debian/etc/apt/sources.list# deb file:///cdrom/ sarge maindeb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-1 (20060419)]/ unstable contrib main main/debian-installerdeb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-2 (20060419)]/ unstable maindeb-src ftp://ftp.nluug.nl/pub/os/Linux/distr/debian/ stable main contrib non-freedeb ftp://ftp.nluug.nl/pub/os/Linux/distr/debian/ stable main contrib non-freedeb http://security.debian.org/ stable/updates main contrib non-freedeb-src http://security.debian.org/ stable/updates main contrib non-free[root@localhost dale]#
no am not getting online in Debian ... can't get online in Debian .. at least not yet.. you will have to explain (one step at a time) about adding to the fstab ... and creating the /mnt/ point .. it will be a new experience....rejean ... from that I am guessing that I do not have to right click on the icon .. just do it from the cmd line ??
Link to comment
Share on other sites

rejean ... from that I am guessing that I do not have to right click on the icon .. just do it from the cmd line ??
exactly Dale. You see I am more a visual than a text person so I like to see the results of my actions. That's all!
Link to comment
Share on other sites

B) :lol: :D .......... It's to bad I can't get the Debian errors over here to post ,,, but alas ,,, onward I must go ... off to Debian land for a spell....
Sorry for jumping in . . . . . .@ Dale: I think it is no wonder you get errors on the "apt-get update" command: this is because you are still not connected to the Net and the apt-get update command looks on the Net for new files.Still with the CD sources you have in the /etc/apt/sources.lst you should do fine, the "apt-get update" command also refreshes that list so it can look for the wvdial packages.@ Réjean: Sure he has those .tar.gz packages . . . but what he badly needs are the same packages in .deb format so he can install them. Downloading and moving those .tar.gz packages was a mistake . . he should not unpack and install them.On the CDs he has, there should be ALL the packages he needs ( in .deb format ) to get the modem going.B) Bruno
Link to comment
Share on other sites

Gotcha Bruno!I never told Dale to get the packages. All he said was I have those but I don't know how to untar them. That's all.
Yep I was indeed aware of that Réjean . . . . . I just wanted to clear up the picture :DB) Bruno
Link to comment
Share on other sites

B) :lol: .......Bruno/Rejean...............True .. Rejean did not tell me to d/l those pkgs .. just gave me the links to them .. they are a just in case .... but from the comments .. I get the impression that I should delete them(whenever I get to Debian)... it baffles me that out of the 4 disks that I have of Debian that wvdial is not there (or at least not installed) there is a file folder for it but I:hmm: :D .......Bruno/Rejean...............True .. Rejean did not tell me to d/l those pkgs .. just gave me the links to them .. they are a just in case .... but from the comments .. I get the impression that I should delete them(whenever I get to Debian)... it baffles me that out of the 4 disks that I have of Debian that wvdial is not there (or at least not installed) there is a file folder for it but I have no idea what is in it since I can't get it to open .... if nothing else ... a try at using kppp might be easier than this ..... but every time I have tried it since the day after the initial install it has not worked
Link to comment
Share on other sites

no am not getting online in Debian ... can't get online in Debian .. at least not yet.. you will have to explain (one step at a time) about adding to the fstab ... and creating the /mnt/ point .. it will be a new experience....
ok Dale... you should add fstab to your debian.... then you can do the others ..... where is your pclos what dev/hdX ????? you should be doing in pclosfirst step mount your debian
# mount /dev/hda12 /mnt/Debian

create your mount point in debian so you can see pclos

# mkdir /mnt/Debian/mnt/pclos

also get this ..

cd  /mnt/Debian/home/dale/Desktop

then

wget http://forums.scotsnewsletter.com/index.php?act=Print&client=printer&f=14&t=16178

next you had to add edit your fstab

$ kdesu kate /mnt/Debian/etc/fstab

now add this to your fstab..

/dev/hda[b]X[/b]	/mnt/pclos	ext3	user,exec,rw,noauto	0 0

change the X to where your pclos is .... exacmple if your pclos is in /dev/hda8 .... the n just add the 8 or whatever it says your in Note if pclos is reiserfs then you do use one ..

/dev/hda[b]X[/b] /mnt/pclos reiserfs user,exec,rw,noauto,notail,noatime 1 2

....... next go to debianonce your there get your cds ready and try this command get the first cd ready and run this

 # apt-cdrom add

next

apt-get update;apt-get install wvdial

Link to comment
Share on other sites

It appears that all went well up to this point#apt-cdrom add ... after it does its thing ... hunts , searchs ... etc ...etc ... this is the readoutscanning disc for index files...found 0 package indexes and 0 source indexes.E: unable to locate any package files, perhaps this is not a debian dischowever ,, if I rt click on the disc icon on the desktop it tells me it is debian disc 3 binary iso

Link to comment
Share on other sites

Dale, when you navigate the disc, is it showing the iso file or the folders for the files?It sounds you may have to re-burn that disc as an image intead of a data disc.

Link to comment
Share on other sites

Didn't try to navigate ... dt clicked on the "disk" icon and it says it is a debian disk after that if I click on it .. it asks what I want to use to open it up with ...

Link to comment
Share on other sites

DaleIt sounds like you burned it as a single image rather than letting the burner break it out into the individual files. Been there and done that many a time.Did you burn it in Windows or Linux? With what program?Reading back over every thing, it sounds like you are in Linux. Are you in the distro with the image? You will need to make a new Cd, making sure you tell it to burn an iso image.

Link to comment
Share on other sites

hi Dale i was wondering why you couldnt add your cds to your source.list so i what i did i download the 3cds that you have.... i also backed up my sources.list and then deleted everything and started fresh and this is what i got cd 1

debian:/home/louis# apt-cdrom addUsing CD-ROM mount point /cdrom/Unmounting CD-ROMPlease insert a Disc in the drive and press enterMounting CD-ROMIdentifying.. [e48023efb3aeb3c265964f9daa72dd84-2]Scanning Disc for index files..  Found 2 package indexes and 0 source indexes.Found label 'Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-1 (20060419)'This Disc is called: 'Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-1 (20060419)'Reading Package Indexes... Done[b]Wrote 1035 records.Writing new source listSource List entries for this Disc are:deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-1 (20060419)]/ unstable contrib mainRepeat this process for the rest of the CDs in your set.debian:/home/louis#

cd 2

debian:/home/louis# apt-cdrom addUsing CD-ROM mount point /cdrom/Unmounting CD-ROMPlease insert a Disc in the drive and press enterMounting CD-ROMIdentifying.. [3c63250ed65982ded4b9f5b7f44bdd6f-2]Scanning Disc for index files..  Found 1 package indexes and 0 source indexes.Found label 'Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-2 (20060419)'This Disc is called: 'Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-2 (20060419)'Reading Package Indexes... DoneWrote 436 records.Writing new source listSource List entries for this Disc are:deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-2 (20060419)]/ unstable mainRepeat this process for the rest of the CDs in your set.

cd 3

# apt-cdrom addUsing CD-ROM mount point /cdrom/Unmounting CD-ROMPlease insert a Disc in the drive and press enterMounting CD-ROMIdentifying.. [3663f12debd54952324d2f9ef7505ef8-2]Scanning Disc for index files..  Found 2 package indexes and 0 source indexes.Found label 'Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-3 (20060419)'This Disc is called: 'Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-3 (20060419)'Reading Package Indexes... DoneWrote 1024 records.Writing new source listSource List entries for this Disc are:deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-3 (20060419)]/ unstable contrib mainRepeat this process for the rest of the CDs in your set.

this is the source.list it created

# cat /etc/apt/sources.listdeb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-1 (20060419)]/ unstable contrib maindeb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-2 (20060419)]/ unstable maindeb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-3 (20060419)]/ unstable contrib maindeb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-1 (20060419)]/ unstable contrib maindeb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-2 (20060419)]/ unstable maindeb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-3 (20060419)]/ unstable contrib main

the are the same cds as yours 3.1 r2 also some bad news wvdial is not in the 3cds... you can try to fun kppp to get online and then download it .... ii am running out of ideas here why your cds arent being added .. :)

Link to comment
Share on other sites

Hi SteelCould we find him the .deb packages he needs on the Debian mirrors so he can download them in PCLos ? Next he could copy them to Debian and install them.
Hi Bruno, ok done
The following NEW packages will be installed:libwvstreams4.0-base libwvstreams4.0-extras libxplc0.3.11 wvdial0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.Need to get 930kB of archives.After unpacking 1716kB of additional disk space will be used.Do you want to continue? [Y/n]
http://mirrors.kernel.org/debian/pool/main/w/wvstreams/libwvstreams4.0-base_4.0.2-4_i386.debhttp://mirrors.kernel.org/debian/pool/main/w/wvstreams/libwvstreams4.0-extras_4.0.2-4_i386.debhttp://mirrors.kernel.org/debian/pool/main/x/xplc/libxplc0.3.11_0.3.11-1_i386.debhttp://mirrors.kernel.org/debian/pool/main/w/wvdial/wvdial_1.54.0-1.1_i386.deb

Link to comment
Share on other sites

QUOTEThe following NEW packages will be installed:libwvstreams4.0-base libwvstreams4.0-extras libxplc0.3.11 wvdial0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.Need to get 930kB of archives.After unpacking 1716kB of additional disk space will be used.Do you want to continue? [Y/n]CODEhttp://mirrors.kernel.org/debian/pool/main....0.2-4_i386.debhttp://mirrors.kernel.org/debian/pool/main....0.2-4_i386.debhttp://mirrors.kernel.org/debian/pool/main...3.11-1_i386.debhttp://mirrors.kernel.org/debian/pool/main....0-1.1_i386.deb :happyroll: :thumbsup: ???
Link to comment
Share on other sites

Thats what you need to install wvdial Dale, two ways you can do it ... install each one manually of tr yto get apt-get install them for you .... what i would try would be this ..... ON your pclos and do these things first mount your debian

# mount /dev/hda12 /mnt/Debian

second lets clear everything you have from your sources.list .. later we can fix that easily

$ kdesu kate /mnt/Debian/etc/apt/sources.list

make sure the file is emptydont worry later we can fix it up easilynext

# cd /mnt/Debian/var/cache/apt/archives

now

# wget http://mirrors.kernel.org/debian/pool/main/w/wvstreams/libwvstreams4.0-base_4.0.2-4_i386.deb http://mirrors.kernel.org/debian/pool/main/w/wvstreams/libwvstreams4.0-extras_4.0.2-4_i386.deb http://mirrors.kernel.org/debian/pool/main/x/xplc/libxplc0.3.11_0.3.11-1_i386.deb http://mirrors.kernel.org/debian/pool/main/w/wvdial/wvdial_1.54.0-1.1_i386.deb

then change to your debian now ..

# apt-get update;apt-get install wvdial

Edited by steel
Link to comment
Share on other sites

Welll ... that was a good training exercise ...... but the bottom line is this.....E: couldn't find pkg wvdial .......there must be some way to find out if these pkgs are even getting over to Debian ... before I start these cmds .... because obviously .... they aren't there ....

Link to comment
Share on other sites

Welll ... that was a good training exercise ...... but the bottom line is this.....E: couldn't find pkg wvdial .......there must be some way to find out if these pkgs are even getting over to Debian ... before I start these cmds .... because obviously .... they aren't there ....
Dlae you can check if the packages are there or what you have in your debian this is how
# mount /dev/hda12 /mnt/Debian

then do

# ls -l /mnt/Debian/var/cache/apt/archives

lets see what we have there ...

Link to comment
Share on other sites

:thumbsup: :D Well ...... this takes care of that question .....
Password:[root@localhost dale]# mount /dev/hda12 /mnt/Debian[root@localhost dale]# ls -l /mnt/Debian/var/cache/apt/archivestotal 1360-rw-r--r-- 1 root root 102220 Aug 1 00:25 dhcp-client_2.0pl5-19.1sarge2_i386.deb-rw-r--r-- 1 root root 366816 Apr 5 2005 libwvstreams4.0-base_4.0.2-4_i386.deb-rw-r--r-- 1 root root 443564 Apr 5 2005 libwvstreams4.0-extras_4.0.2-4_i386.deb-rw-r--r-- 1 root root 35834 Mar 26 2005 libxplc0.3.11_0.3.11-1_i386.deb-rw-r----- 1 root root 0 Sep 4 10:39 lockdrwxr-xr-x 2 root root 4096 Aug 31 18:52 partial/-rw-r--r-- 1 root root 324274 Jun 4 04:47 ppp_2.4.3-20050321+2sarge1_i386.deb-rw-r--r-- 1 root root 83706 Jan 21 2005 wvdial_1.54.0-1.1_i386.deb[root@localhost dale]#
Link to comment
Share on other sites

:thumbsup: :D Well ...... this takes care of that question .....
its no biggie Dale... then what you will have to do install them by hand ..
# mount /dev/hda12 /mnt/Debian

copy this

# dpkg -i /var/cache/apt/archives/wvdial_1.54.0-1.1_i386.deb# dpkg -i /var/cache/apt/archives/libxplc0.3.11_0.3.11-1_i386.deb# dpkg -i /var/cache/apt/archives/libwvstreams4.0-extras_4.0.2-4_i386.deb# dpkg -i /var/cache/apt/archives/wvstreams/libwvstreams4.0-base_4.0.2-4_i386.deb

to this file

$ kdesu kate /mnt/Debian/dale/Desktop/todo

save it then reboot into your debian and start with the first one, you will also have a file on your desktop called todo ..

Edited by steel
Link to comment
Share on other sites

:thumbsup: :D B) I can't save the file .. it says I can't write to /mnt/Debian.............
ok Dale no problem to make things easieri also changed it and open up kate and copy all of what is in the code... then save it to your desktop as todo...copy all of this..
#cd /var/cache/apt/archives/# dpkg -i wvdial_1.54.0-1.1_i386.deb# dpkg -i libxplc0.3.11_0.3.11-1_i386.deb# dpkg -i libwvstreams4.0-extras_4.0.2-4_i386.deb# dpkg -i libwvstreams4.0-base_4.0.2-4_i386.deb

then save it to your desktop

# cp -R /home/dale/Desktop/todo /mnt/Debian/dale/Desktop/

Link to comment
Share on other sites

change the ownership and the permissions of /mnt/Debian Dale. You should know how; "chown" and "chmod" like we did a few days ago. Then do the "dpk's".Like I said earlier don't worry about the right-click stuff ( It's my way of checking; others prefer to stay in a terminal and do a "ls -al" on a mounted partition, a directory or a file. Me I like to see it in front of my eyes when I do properties, permissions, etc. That's all!Just;

#suPassword:#chown -R <your username> /mnt/Debian

then try "dpkg". If it doesn't work then see where in /mnt/Debian it want to install and give it ownership and permission.P.S. Just read Louis' post. Try his first Dale and see what it does.

Edited by réjean
Link to comment
Share on other sites

[dale@localhost ~]$ suPassword:[root@localhost dale]# cp -R /home/dale/Desktop/todo /mnt/Debian/dale/Desktop/cp: cannot stat `/home/dale/Desktop/todo': No such file or directory[root@localhost dale]#
Link to comment
Share on other sites

[dale@localhost ~]$ suPassword:[root@localhost dale]# cp -R /home/dale/Desktop/todo /mnt/Debian/dale/Desktop/cp: cannot stat `/home/dale/Desktop/todo': No such file or directory[root@localhost dale]#
did you save the file to your home or desktop? and also did is your mount your debian?
# mount /dev/hda12 /mnt/Debian

and whats your username on pclos

# pwd

@ Rejean thats a very dangerious command and if you make a mistake you lock yourself out as well

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...