LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 04-30-2011, 01:33 AM   #46
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374

Hi,

The int_curr_symbol is already set when choosing a locale (as the output above shows), I don't know why you added it to the export LANG=en_IN.utf8 line. Remove the INR part.
 
Old 04-30-2011, 01:43 AM   #47
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
cat > /etc/profile << "EOF"
# Begin /etc/profile
export LANG=<ll>_<CC>.<charmap><@modifiers>
# End /etc/profile
EOF
AS PER BOOK in examples,Optional modifiers currency name right [like “@euro”]
thats why i used,any way right now i am @ 7.11. Configuring the localnet Script
so ,shall go back/or what to do
can we change from here,using any command
if i do change here ,does it effect any thing
 
Old 04-30-2011, 02:41 AM   #48
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
HI DRUUNA

network card version

no network card version

which one should i use,becauze i am using lfs-livecd, in that internet is working
i open filesystem there /etc/hosts
when i open hosts folowing result

# Begin /etc/hosts

127.0.0.1 lfslivecd localhost

# End /etc/hosts
which one cat command shall i use among above 2 cat commands(

network card version

no network card version

)i typed on another system
result
janu@janu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:3e:e9:ee
inet addr:10.100.37.29 Bcast:10.100.39.255 Mask:255.255.252.0
inet6 addr: fe80::20f:feff:fe3e:e9ee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3500739 errors:0 dropped:0 overruns:0 frame:0
TX packets:4609276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1966551602 (1.9 GB) TX bytes:723099395 (723.0 MB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:815 errors:0 dropped:0 overruns:0 frame:0
TX packets:815 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:55482 (55.4 KB) TX bytes:55482 (55.4 KB)
what to do
 
Old 04-30-2011, 02:48 AM   #49
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by janakiramulu View Post
AS PER BOOK in examples,Optional modifiers currency name right [like “@euro”]
thats why i used
As stated in the book: Optional modifiers such as “@euro” may also be present. Not needed in this case.

Quote:
so ,shall go back/or what to do
I already told you what to do.....

Quote:
can we change from here,using any command
This I also already told you.....

A while back I stopped answering your posts due to lack of knowledge on your side and you not following the book. Seeing that you made it all the way up to chapter 7.8 without any help from the LQ community I though you would have a better understanding of what is going on. But if I look at your last replies (#47 and #48) I do wonder if that is true......

Last edited by druuna; 04-30-2011 at 02:57 AM.
 
Old 04-30-2011, 02:51 AM   #50
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by janakiramulu View Post
network card version

no network card version

which one should i use,becauze i am using lfs-livecd, in that internet is working
You do seem to have a working network card. Pick the correct sections from the book.
 
1 members found this post helpful.
Old 05-01-2011, 02:43 AM   #51
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
hi druuna
i removed INR in LANG variable as said i redo ,now i am @8.4. Using GRUB to Set Up the Boot Process
[in my system windows was installed ie /dev/sda1,extended partition drive ie /dev/sda2,and under extended 2 logical partitions so one logical partiton is-lfs-/dev/sda6,second logical partition-lfs swap-/dev/sda7]

8.4.1. Introduction
cd /tmp
grub-mkrescue --output=grub-img.iso
dd if=grub-img.iso of=/dev/fd0 bs=1440 count=1
i dont have floppy/blank cd
i want .iso file to usb drive
so i did like below
first i mounted pendrive to /lfs/home dir
cd /tmp
grub-mkrescue --output=grub-img.iso
dd if=grub-img.iso of=/dev/sdb1 bs=1440 count=1(bcz usb drive is-sdb1)
when i see in home dir ,there is no any .iso files
whats wrong

Last edited by janakiramulu; 05-01-2011 at 02:54 AM.
 
Old 05-01-2011, 03:10 AM   #52
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

I don't see any mention in the book that a usb stick can be used....... Using a usb stick might be possible, but this topic is out of scope here.

Use a floppy or a cd (or skip this step all together and use the liveCD for emergencies/rescue).
 
Old 05-01-2011, 03:14 AM   #53
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
right now i dont have what to do
so if i skip all below
cd /tmp
grub-mkrescue --output=grub-img.iso
dd if=grub-img.iso of=/dev/fd0 bs=1440 count=1
nothing wrong in further right?
--------------------------------

shall run next commands
grub-mkdevicemap --device-map=device.map
cat device.map
 
Old 05-01-2011, 03:48 AM   #54
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
8.4.3. Testing the Configuration

hi druuna
i run
root:/sources/linux2.6.35.4# /sbin/reboot

...
grub> root (hd0,1)
grub> kernel /boot/grub/core.img
grub> boot
its rebooted fast
and came as it is @ first(when we use first lfs livecd -screen)
help me
 
Old 05-01-2011, 04:15 AM   #55
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
i want run this below commands
/sbin/reboot
...
grub> root (hd0,1)
grub> kernel /boot/grub/core.img
grub> boot
now i am seeing screen(when we use lfs-live cd)
i will give result of above commands
 
Old 05-01-2011, 04:41 AM   #56
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
/sbin/reboot
...
grub> root (hd0,1)
grub> kernel /boot/grub/core.img
grub> boot

after running above commands its rebooted and some text lines appeared
and automatically booted from lfs-livecd(cd didnt come out)
 
Old 05-01-2011, 05:18 AM   #57
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by janakiramulu
partiton is-lfs-/dev/sda6

grub> root (hd0,1)
Why are you using (hd0,1)? Re-read 8.4.1.

Quote:
Originally Posted by janakiramulu
and some text lines appeared
Which lines, or do you expect us to be psychic?
 
Old 05-01-2011, 05:24 AM   #58
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
thanks reply i am very sorry i didnt see that mine was sda

now system is booted from lfs-livecd
what to do now plz tell me
how to run 8.4.3. Testing the Configuration in my case
 
Old 05-01-2011, 05:42 AM   #59
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
hi druuna
structure for drives and partitions in the form of (hdn,m),
where n is the hard drive number
and m is the partition number.
mine sda2 is extended partition
sda5,sda6 -lfs ,sda7-lfs-swap are logical partitions
in my case hard drive number?
partition numbers are 1,2.extended-5,6,7
----------------------------
how to start to reach chpter 8?
 
Old 05-01-2011, 05:55 AM   #60
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
hi druuna
k i got
sda-hard driveno-0
sdb-hard drive no-1
sdc-hard drive -2
right


/sbin/reboot
...
grub> root (sda,6)
grub> kernel /boot/grub/core.img
grub> boot
in my case it would be like this right
you know i am very tense,its 3 days cont work
now i didnt get any result
so,
please kind enough can u make the currections to do my lfs-success plz
now what to do tell me ,instead of slap me (your words look like)
 
  


Reply

Tags
lfs, permission, user


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
[SOLVED] chown: changing ownership of `<file>': Operation not permitted schuurs Linux - General 14 06-26-2013 05:15 PM
5.32. Changing Ownership - Operation not permitted basheer Linux From Scratch 6 05-17-2012 04:57 AM
changing ownership of 'file name' : operation not permitted Virgil B Linux - Newbie 9 10-15-2010 05:16 PM
chmod: changing permissions of `public_html': Operation not permitted painterj Linux - Newbie 11 04-09-2010 09:40 PM
failed to preserve ownership operation not permitted yogks Linux - Software 1 11-27-2008 04:54 PM


All times are GMT -5. The time now is 02:38 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