LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-09-2010, 03:41 PM   #1
baxzius
Member
 
Registered: Jan 2010
Location: India
Distribution: ubuntu
Posts: 134
Blog Entries: 1

Rep: Reputation: 21
how can i convert Ubuntu to Debian.


I am using Ubuntu 9.10
i just like to use Debian Linux
but i will give you chance to install Debian Linux through Internet.
because my usb and cdrom is not working.
so what i must do inorder to convert ubuntu 9.10 into Debain
 
Old 07-09-2010, 03:51 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
In the U.S., CD/DVD ROM drives are dirt cheap.

Most modern motherboards have multiple USB ports and one or more USB controllers. For many modern systems, USB is the *only* way to connect a mouse, keyboard and/or a printer.

I would strongly argue that your PC is severely crippled and more trouble than it's worth to consider updating if you don't have USB and you can't get the CD/DVD drive working.

HOWEVER ...

1. You can always download the Debian .iso, then install and run it in a VM on your Ubuntu physical host

2. You can also do a PXE network install from another host on your LAN

'Hope that helps .. PSM
 
Old 07-09-2010, 05:15 PM   #3
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,050

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Ubuntu is a Debian-based distro. If you are using Ubuntu, you are basically using Debian. Relax and enjoy.
 
Old 07-09-2010, 05:23 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Quote:
Originally Posted by baxzius View Post
I am using Ubuntu 9.10
i just like to use Debian Linux
but i will give you chance to install Debian Linux through Internet.
because my usb and cdrom is not working.
so what i must do inorder to convert ubuntu 9.10 into Debain
You don't 'convert' you install Debian.
 
Old 11-16-2011, 05:00 AM   #5
jobsworth
LQ Newbie
 
Registered: Jan 2010
Location: brighton england
Distribution: Debian not Ubuntu
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by craigevil View Post
You don't 'convert' you install Debian.
No you don't you just get rid of Ubuntu and you will be left with a pure Debian
and hopefully a Gnome desktop. This is what I want to do. The problem s that it s easy to destroy your complete Linux system and lose all of your /home files.
Ubuntu has really gone downhill since 11.05 and now is a problem.
 
0 members found this post helpful.
Old 11-16-2011, 11:25 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by jobsworth View Post
No you don't you just get rid of Ubuntu and you will be left with a pure Debian
Nope, you don't just do that. While Debian is the base for Ubuntu they are not compatible.
Your best bet would be to actually repair your computer (well, if you wouldn't live in India I just would send you a CD-drive, you can find one in almost any old computer).
Or you take out the harddisk and use a different computer to install Debian.

Quote:
The problem s that it s easy to destroy your complete Linux system and lose all of your /home files.
That can anytime be your problem, regardless if you try to install something or not. Making backups is essential, but that can be hard on machines without CD or USB, if you don't have access to a server. Another point for actually repairing that machine.

Quote:
Ubuntu has really gone downhill since 11.05 and now is a problem.
I basically think the last somewhat usable version was 9.10, but that is a different story.
 
Old 11-17-2011, 01:05 AM   #7
jobsworth
LQ Newbie
 
Registered: Jan 2010
Location: brighton england
Distribution: Debian not Ubuntu
Posts: 17

Rep: Reputation: 0
my problems with ubuntu continue

I have a 1TB drive with everything on it and a few old HD's with backup.
So far using 11.05 :
1) I lost everything.
2) I could not boot after booting off a USB
Then after using 11.10:
1) I had to reinstall 11.10 twice
2) I am running gparted to make a partition on which to install Debian.
3) I may have lost everything or not - we shall see.

I first tried Linux 5 years ago with Red Hat but could not understand "mount point".
So it was so nice to run Linux under Ubuntu 8 and then 9 but now not.
I run Debian on my laptop and can do everything.
Sorry Mark Shuttleworth. Thank you for a great past but what is happening now.
 
Old 11-17-2011, 12:48 PM   #8
mard0
LQ Newbie
 
Registered: Mar 2011
Distribution: Debian Squeeze
Posts: 11

Rep: Reputation: 0
If your usb isn't working you would still be able to install debian via debootstrap. Simply install debootstrap and mount the debian partition as /mnt.
Next you can install the minimal debian to /mnt with
Code:
debootstrap squeeze /mnt http://ftp.debian.org/debian/
Now you can chroot into the new install to configure it (because this will be a bare minimal install) with
Code:
sudo chroot /mnt /bin/bash.
Now where gonna run the second stage of debootstrap with /debootstrap/debootstrap --second-stage this will install some more package like apt-get that you still have configure so thats next. Type in nano /etc/apt/sources.list and insert the right mirrors something like this will do:
Code:
# main system
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free

# updates
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
Now you can begin installing some aditional package like a desktop and the kernel
Code:
apt-get update
apt-get upgrade
apt-get install gnome gdm synaptic sudo linux-image-2.6-*ARCH linux-headers-2.6-*ARCH
where *ARCH is you put your cpu architecture, 686 for new 32 bit amd64 for 64 bit and 486 for older 32 bit pc's
If you install the 64bit kernel it would be smart to install the 32bit libraries to
Code:
apt-get install ia32-libs ia32-libs-gtk
Next you'll have to configure /etc/fstab to make sure all the partitions are mounted correctly on boot.
For this you will have to look up the right uuid's for the disks with gparted or blkid in the ubuntu install. Your fstab will probably look something like this:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=471aeebf-914c-4a5b-b376-3f254c6cffa9 /               ext4    noatime,user_xattr,errors=remount-ro,barrier=0 0       1
# /home was on /dev/sda6 during installation
UUID=efac19df-63eb-4c4c-8470-0af09b9d6384 /home           ext4    noatime,user_xattr,barrier=0 0       2
# swap was on /dev/sda5 during installation
UUID=28faae3c-c01e-45cb-8c25-9a49b22450c2 none            swap    sw              0       0
/dev/scd0       /media/cdrom1   udf,iso9660 user,noauto     0       0
Now you can make a new user for your new install with
Code:
 adduser NAMEOFUSER
Now you can exit the chrooted environment and run sudo update-grub in your ubuntu install to tell grub that there is a new install. Now your ready to boot into your new debian system!

Last edited by mard0; 11-17-2011 at 12:56 PM. Reason: Forgot to make a user ;-)
 
Old 11-17-2011, 01:17 PM   #9
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by snowpine View Post
Ubuntu is a Debian-based distro. If you are using Ubuntu, you are basically using Debian. Relax and enjoy.
That's not entirely accurate, Ubuntu has alot of additional stuff that has, over time (I actually think the last usable one was 10.04) made Ubuntu more difficult to setup than Debian. Not to mention the constant updates which Debian doesn't have, the resource hogging that Debian doesn't have and the slower boot times which Debian doesn't have.

@mard0, I've never chrooted, never had the need to fortunately, but I'm gonna give your post a whirl.
 
Old 11-17-2011, 01:29 PM   #10
inoculos
Member
 
Registered: Apr 2009
Location: Seattle
Distribution: Arch, Crunchbang, Fedora
Posts: 38

Rep: Reputation: 6
I think we should also figure out why your usb and cdrom isnt working, that may be just an issue of a module install. You may want to start another thread in hard ware. This way you can try to back up your data to the external before messing with your reinstall. You can also do backups to online storage like dropbox.

Can you boot from the cdrom or is it completely dead? have you looked in bios to make sure the cdrom and usb is enabled?

Last edited by inoculos; 11-17-2011 at 01:40 PM.
 
Old 11-17-2011, 02:48 PM   #11
mard0
LQ Newbie
 
Registered: Mar 2011
Distribution: Debian Squeeze
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by k3lt01 View Post
@mard0, I've never chrooted, never had the need to fortunately, but I'm gonna give your post a whirl.
Give me a PM if it doesn't work. I kind of typed this pretty fast i might have forgotten something.
 
Old 11-17-2011, 02:55 PM   #12
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 173Reputation: 173
here are some tips to speed up ubuntu (to similar speed level like debian)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to convert ubuntu gnome desktop into ubuntu server salimshahzad Linux - Newbie 2 04-23-2010 01:54 AM
LXer: How-To: Convert APE to Ogg Vorbis or MP3 in Debian and Ubuntu LXer Syndicated Linux News 0 04-29-2009 07:10 AM
trying to convert over to debian... nomb Debian 29 07-10-2007 10:16 AM
Convert to fedora 6 from debian 3.1 aman1973 Fedora 2 02-05-2007 09:25 PM
Easy way to convert to Ubuntu from Debian Etch??? JaseP Ubuntu 9 10-29-2006 04:19 AM


All times are GMT -5. The time now is 10:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration