I have used this method but have encountered a problem. The distro won't open up when I boot up my hard disk.
I have a black screen appearing with: Code:
Debian GNU/linux 7 host ttyl Code:
root@host:"# Can anyone help please? |
@Higgsboson -- I did try to tell you this wasn't the way to go...
Have you installed xorg & some some of desktop environment/window manager? Did you read post #10? Use tasksel to install a desktop exactly how the installer would have done it (without your intervention and much quicker): https://wiki.debian.org/DebianDesktop/Tasks |
Quote:
I'm just wondering why the OS allows me to login but doesn't open up the desktop. When I boot up my live debian USB the hdd with the new OS doesn't mount automatically. When I mount the correct partition, it shows there is 3.9GB of data on it. This must mean the OS has been installed. However, I'm wondering why the gnome desktop won't open up. |
You shouldn't use the X server (graphical desktop) as root -- it is fundamentally insecure.
Generate a normal user for day-to-day tasks using the `adduser` command. If you have a console login and you have used tasksel to install GNOME then you can start the desktop using: Code:
startx If you have installed GNOME manually, you may also need GDM (although I'm pretty sure this is part of the GNOME package in Debian) and you may need to enable it. With systemd I would use: Code:
# systemctl enable gdm3 http://forums.debian.net/viewtopic.php?f=6&t=119768 I'm not sure how to do this under SysVinit; try using: Code:
# chkconfig gdm3 on |
Quote:
1. Since I already have a hdd with an ext4 partition, at this stage I used the following commands (my partition is also sda1): Code:
root@host# mkdir /mnt/deboot Code:
root@host# mount -t ext4 /dev/sda1 /mnt/deboot Since I'm using a live USB without persistence, unfortunately I can't go into debootstrap.log for error messages. Quote:
However, whilst the package was installing, I did read some error messages about not having relevant firmware. So what would be the command to get the debian_non-free version? I'm thinking of using debootstrap again for a different target partition on my hdd. Once I have the answers to the above questions, then I should be good to go. 3. The debootstrap method binds and copies files from the host OS which is very economical. In my particular situation, I'm using a slightly altered debian live USB. So I'm hoping that the relevant host files haven't had some records deleted. However, that's just my situation and shouldn't affect others who didn't make their live USB with the Yumi program. |
Like Head_on_a_stick suggested, gdm3 wasn't automatically installed, since gnome-shell doesn't seem to depend on it. You can install it using apt-get install gdm3 .
Quote:
I just did a test install of stable in a virtual machine, only doing apt-get install gdm3 gnome-shell, and everything appears fine. |
Quote:
Also, gdm3 is to do with the shell. But somehow the shell isn't loading. I used: Code:
apt-get install gdm3 The update worked which must mean the network connection is fine. I also did 'apt-get upgrade'. But the repeated error message is 'could not resolve ftp.us.debian.org' I then tried: Code:
apt-get install gnome-shell So this seems like it's got all the gnome files but for some reason it's not activating. Even so, this clearly shows debootstrap works. I'm just wondering what the problem is in my scenario. |
Quote:
Code:
# The primary network interface |
Quote:
The output for 'ifconfig' is: 'Link encap:Local loopback inet addr: 127. 'etc...' Mask:'etc...' inet6addr: ::1/128 Scope:Host RX Packets: 0 errors:0 dropped:0 overruns:0 'etc...' My network connection is DHCP as far as I know. Does that mean there's a problem with a network connection? |
This may help http://www.debian.org/releases/stable/i386/apds03.html
Quote:
Code:
apt-cache search firmware |
Quote:
However, it is very complicated for me. It seems the debootstrap tutorial on this thread is a much simpler version. And replica9000 has tested it. I did find on the debian site, it asks you to use a local mirror site. I was using Code:
ftp.us.debian.org/debian/ Code:
ftp.uk.debian.org/debian/ Quote:
I could run debootstrap and install onto a different partition on my hdd. I could then use the UK mirror for downloads. Then I could install debian 7.7 non-free rather than debian 7.7 stable. But I don't know how to substitute the following command for the non-free version: Code:
debootstrap --include=linux-image-amd64,grub-pc --arch amd64 stable /mnt/deboot http://ftp.uk.debian.org/debian Will debian 7.7 non-free sort out my firmware problem, do you think? Also, is trying the above method a viable option? |
The debian website also mentions
'D.3.4.4. Configure Networking' on their debootsrap tutorial. http://www.debian.org/releases/stable/i386/apds03.html I'm wondering if I need to do something like that? |
@Higgsboson -- this is getting really silly now.
Just download an unofficial netinstall .iso with the non-free firmware included and install using the "normal" method (ie, burn the image to a CD and boot up from that): http://ftp.acc.umu.se/mirror/cdimage...ding-firmware/ You seem intent on using debbootstrap (against all advice to the contrary) and then complain because it's "very complicated"... If you had used the same method of installation that 99% of Debian users employ you would be using your Debian system by now rather than making countless posts on a support forum. http://www.skidmore.edu/~pdwyer/e/eoc/help_vampire.htm |
Quote:
Quote:
The programs will be a complete waste if nobody uses them. Their benefits never be understood. I'm just trying to learn about the debootstrap program and see what benefits it can offer. |
Quote:
Quote:
|
All times are GMT -5. The time now is 02:12 AM. |