LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-20-2012, 08:49 PM   #1
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,241

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
debootstrap can't cd to /mnt/debinst


Anyway I'm trying to install debian via bootstrap process in Vbox.
The VM has 2 vhd's .
I'm using the info from here:
http://www.debian.org/releases/stable/i386/apds03.html
When I execute this command:
Code:
/usr/sbin/debootstrap --arch i386 squeeze \      /mnt/debinst http://ftp.us.debian.org/debian
I get
Code:
/usr/sbin/debootstrap: 382: cd: can't cd to /mnt

Last edited by EDDY1; 09-20-2012 at 08:51 PM.
 
Old 09-20-2012, 08:58 PM   #2
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,241

Original Poster
Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Even though I entered the command above, I should've copied & pasted then changed the ARCH to i386.
The original command that I entered was:
Quote:
/usr/sbin/debootstrap --arch i386 squeeze \ /mnt/debinst http://ftp.us.debian.org/debian
When it should've been:
Quote:
/usr/sbin/debootstrap --arch i386 squeeze \ /mnt/debinst http://ftp.us.debian.org/debian
Now it is running.
The second command has 6 spaces between \ /

Last edited by EDDY1; 09-21-2012 at 10:33 AM.
 
Old 09-21-2012, 05:50 PM   #3
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,241

Original Poster
Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Ok I managed to get system up & running using these 2 threads:
http://www.debian.org/releases/stable/i386/apds03.html
http://daemonkeeper.net/668/how-to-b...-linux-system/
The system is an active running desktop, I do have a few minor issues to resolve, but they don't affect the operability of the system running.
I installed os in virtualbox using another guest machine & have since released the vhd from that machine system & created another virtualbox guest to attach drive to. It does boot & run.
Issues:
1: /etc/fstab "# UNCONFIGURED FSTAB FOR BASE SYSTEM"
I made the entries using blkid to get UUID & used the "echo" command. I think that I have to make a link to mtab.
2:When in file manager sdb1 & sdb3 show also as media with 2 mountable drives.
3:Since the os was installed to a guest machine, it is now running as /dev/sdb.

Last edited by EDDY1; 09-21-2012 at 05:53 PM.
 
Old 09-21-2012, 06:06 PM   #4
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,241

Original Poster
Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Well the listing as media part took care of itself as soon as I disconnected it from the other vm, so it shows as a normal os.
2:When in file manager sdb1 & sdb3 show also as media with 2 mountable drives.
 
Old 09-21-2012, 07:00 PM   #5
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,241

Original Poster
Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Update-grub & issue # 3 is resolved.
3:Since the os was installed to a guest machine, it is now running as /dev/sdb.
 
Old 09-22-2012, 02:49 AM   #6
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,241

Original Poster
Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
I created fstab & used the "mount -a" command everything seems to be ok.
That takes care of
1: /etc/fstab "# UNCONFIGURED FSTAB FOR BASE SYSTEM"
I made the entries using blkid to get UUID & used the "echo" command. I think that I have to make a link to mtab.
 
  


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
/mnt/auto/usr/sbin/automount: Ambiguous or unknown options. Failure on /mnt/auto pgb205 Linux - Distributions 5 03-04-2009 11:30 PM
Debootstrap Error pmconway Debian 0 10-14-2004 12:38 AM
i changed /mnt/cdrom to /mnt/CD-RW - now i've got a problem?!?! spyghost Linux - Software 7 09-30-2003 02:06 PM
/mnt/cdrom & /mnt/scd0 locks up machine RIgimp75 Mandriva 7 09-01-2003 09:32 PM
mount -t //192.168.0.1/mnt /mnt/windows -o password='' generates error broadsoft Linux - Networking 3 08-07-2003 04:51 AM


All times are GMT -5. The time now is 02:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration